Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

access modifier in php

@CodeGrepperManu answered on April 5, 2023 Popularity 9/10 Helpfulness 4/10

Contents


More Related Answers

  • PHP OOP - Access Modifiers
  • modifier un formulaire php

  • access modifier in php

    6

    There are three access modifiers:

    public - the property or method can be accessed from everywhere. This is default.

    private - the property or method can ONLY be accessed within the class. 

    protected - the property or method can be accessed within the class and by classes derived from that class.

    Popularity 9/10 Helpfulness 4/10 Language php
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Apr 05 2023
    @CodeGrepperManu
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.