Foo\Bar
Foo\Bar
Foo\Bar
Fatal error: Uncaught Error: Undefined constant "Foo\self" in /in/rQMb6:10
Stack trace:
#0 /in/rQMb6(17): Foo\Bar->__construct()
#1 {main}
thrown in /in/rQMb6 on line 10
Process exited with code 255.
Foo\Bar
Foo\Bar
Foo\Bar
Warning: Use of undefined constant self - assumed 'self' (this will throw an Error in a future version of PHP) in /in/rQMb6 on line 10
Warning: get_class() expects parameter 1 to be object, string given in /in/rQMb6 on line 10
Foo\Bar
Foo\Bar
Foo\Bar
Foo\Bar
Notice: Use of undefined constant self - assumed 'self' in /in/rQMb6 on line 10
Warning: get_class() expects parameter 1 to be object, string given in /in/rQMb6 on line 10
Foo\Bar
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/rQMb6 on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in /in/rQMb6 on line 12
Process exited with code 255.