0

Does php have modifiers like those in java?

I mean: •public •private and •protected

19th Feb 2017, 7:07 AM
Elvis Peace Ndahayo Rugero
Elvis Peace Ndahayo Rugero - avatar
4 Réponses
+ 1
php uses local and global variables
21st Feb 2017, 5:33 PM
Andre van Rensburg
Andre van Rensburg - avatar
+ 1
Absolutely , PHP has keywords as Access Control Modifiers , public – accessible from anywhere, even from outside the scope of the class. private – accessible within the class itself. protected – same as private, except by allowing subclasses to access protected superclass members.
13th Apr 2017, 3:27 AM
Mahmoud Zardi
Mahmoud Zardi - avatar
+ 1
sadly no
13th Jun 2017, 7:21 AM
Bruh
0
That means that php is a simplified programming language. Wow.
22nd Feb 2017, 4:56 AM
Elvis Peace Ndahayo Rugero
Elvis Peace Ndahayo Rugero - avatar