Fatal error: Uncaught Error: Cannot use "parent" when current class scope has no parent in /in/Vo8Jn:7
Stack trace:
#0 /in/Vo8Jn(17): Foo::dump()
#1 {main}
thrown in /in/Vo8Jn on line 7
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.7 - 5.6.28
Fatal error: Cannot access parent:: when current class scope has no parent in /in/Vo8Jn on line 7
Process exited with code 255.
Output for 5.4.0 - 5.4.45
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /in/Vo8Jn on line 7
Process exited with code 255.