Deprecated: Creation of dynamic property A::$foo is deprecated in /in/PHAvK on line 5
string(16) "dynamic property"
Warning: Undefined property: A::$foo in /in/PHAvK on line 10
NULL
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
string(16) "dynamic property"
Warning: Undefined property: A::$foo in /in/PHAvK on line 10
NULL
Notice: Corrupt member variable name in /in/PHAvK on line 9
Fatal error: Cannot access empty property in /in/PHAvK on line 9
Process exited with code 255.
Output for 5.2.7 - 5.2.17
Fatal error: Cannot access property started with '\0' in /in/PHAvK on line 9
Process exited with code 255.
Output for 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.6
Fatal error: Uncaught exception 'ReflectionException' with message 'Property foo does not exist' in /in/PHAvK:7
Stack trace:
#0 /in/PHAvK(7): ReflectionClass->getProperty('foo')
#1 {main}
thrown in /in/PHAvK on line 7
Process exited with code 255.
Output for 5.0.3 - 5.0.4
Fatal error: Uncaught exception 'ReflectionException' with message 'Property foo does not exist' in /in/PHAvK:7
Stack trace:
#0 /in/PHAvK(7): ReflectionObject->getProperty('foo')
#1 {main}
thrown in /in/PHAvK on line 7
Process exited with code 255.
Output for 5.0.1 - 5.0.2
Fatal error: Uncaught exception 'ReflectionException' with message 'Property foo does not exist' in /in/PHAvK:7
Stack trace:
#0 {main}
thrown in /in/PHAvK on line 7
Process exited with code 255.
Output for 5.0.0
Fatal error: Call to a member function getValue() on a non-object in /in/PHAvK on line 9
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected '{' in /in/PHAvK on line 8
Process exited with code 255.