string(31) "O:3:"Foo":1:{s:6:"*\0baz";i:1;}"
Deprecated: Creation of dynamic property Foo::$*\0baz is deprecated in /in/DhN21 on line 8
object(Foo)#2 (2) {
["bar":protected]=>
int(1)
["*\0baz"]=>
int(1)
}
Fatal error: Uncaught Error: Cannot access protected property Foo::$bar in /in/DhN21:10
Stack trace:
#0 {main}
thrown in /in/DhN21 on line 10
Process exited with code 255.
string(31) "O:3:"Foo":1:{s:6:"*\0baz";i:1;}"
object(Foo)#2 (2) {
["bar:protected"]=>
int(1)
["*\0baz"]=>
int(1)
}
Fatal error: Cannot access protected property Foo::$bar in /in/DhN21 on line 10
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/DhN21 on line 3
Process exited with code 255.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/DhN21 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/DhN21 on line 3
Process exited with code 255.