string(14) "protectedConst"
string(14) "protectedConst"
-Warning: constant(): Couldn't find constant A::protectedConst in %s on line 14
-
Fatal error: Uncaught Error: Cannot access protected const A::protectedConst in %s:14
Stack trace:
#0 %s(14): constant('A::protectedCon...')
string(12) "privateConst"
string(12) "privateConst"
-Warning: constant(): Couldn't find constant A::privateConst in %s on line 14
-
Fatal error: Uncaught Error: Cannot access private const A::privateConst in %s:14
Stack trace:
#0 %s(14): constant('A::privateConst')