object(ClassName)#1 (1) {
["property":"ClassName":private]=>
int(42)
}
Fatal error: Uncaught TypeError: ReflectionProperty::setValue(): Argument #1 ($objectOrValue) must be of type object, null given in /in/IGot4:16
Stack trace:
#0 /in/IGot4(16): ReflectionProperty->setValue(NULL, 'new value')
#1 {main}
thrown in /in/IGot4 on line 16
Process exited with code 255.
object(ClassName)#1 (1) {
["property":"ClassName":private]=>
int(42)
}
Warning: ReflectionProperty::setValue() expects parameter 1 to be object, null given in /in/IGot4 on line 16
object(ClassName)#1 (1) {
["property":"ClassName":private]=>
int(42)
}
object(ClassName)#1 (1) {
["property:private"]=>
int(42)
}
Fatal error: Call to undefined method ReflectionProperty::setAccessible() in /in/IGot4 on line 15
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/IGot4 on line 5
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/IGot4 on line 5
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/IGot4 on line 5
Process exited with code 255.