- Private – Visible only in its own class
- Public – Visible to any other code accessing the class
- Protected – Visible only to classes parent(s) and classes that extend the current class
What are the 3 scope levels available in PHP and how would you define them?
categories: PHP