object(ReflectionProperty)#2 (2) {
["name"]=>
string(4) "test"
["class"]=>
string(3) "foo"
}
array(1) {
["test"]=>
string(3) "bar"
}
Fatal error: Uncaught ReflectionException: Class foo does not have a property named test in /in/om1lZ:13
Stack trace:
#0 /in/om1lZ(13): ReflectionClass->getStaticPropertyValue('test')
#1 {main}
thrown in /in/om1lZ on line 13
Process exited with code 255.
object(ReflectionProperty)#2 (2) {
["name"]=>
string(4) "test"
["class"]=>
string(3) "foo"
}
array(1) {
["test"]=>
string(3) "bar"
}
Fatal error: Uncaught exception 'ReflectionException' with message 'Class foo does not have a property named test' in /in/om1lZ:13
Stack trace:
#0 /in/om1lZ(13): ReflectionClass->getStaticPropertyValue('test')
#1 {main}
thrown in /in/om1lZ on line 13
Process exited with code 255.
object(ReflectionProperty)#2 (2) {
["name"]=>
string(4) "test"
["class"]=>
string(3) "foo"
}
Fatal error: Call to undefined method ReflectionProperty::setAccessible() in /in/om1lZ on line 11
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/om1lZ on line 4
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/om1lZ on line 4
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/om1lZ on line 4
Process exited with code 255.