What are the main differences between Public, Private and Protected in PHP?

Can someone please explain the main differences between Public, Private and Protected access controllers in PHP?

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion