Deprecated: Creation of dynamic property MyClass2::$foo is deprecated in /in/TMDfr on line 6
This is awesome!
object(MyClass2)#2 (2) {
["foo2":"MyClass2":private]=>
NULL
["foo":"MyClass":private]=>
string(11) "kill me now"
}
This is awesome!
object(MyClass2)#2 (2) {
["foo2:private"]=>
NULL
["foo:private"]=>
string(11) "kill me now"
}
Output for 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/TMDfr on line 29
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/TMDfr on line 37
This is awesome!PHP_EOLPHP_EOLobject(MyClass2)#2 (2) {
["foo2:private"]=>
NULL
["foo:private"]=>
string(11) "kill me now"
}
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/TMDfr on line 12
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/TMDfr on line 12
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/TMDfr on line 12
Process exited with code 255.