Fatal error: Uncaught Error: Undefined constant "Test\this" in /in/AMhVp:9
Stack trace:
#0 /in/AMhVp(15): Test\MyTest->a()
#1 {main}
thrown in /in/AMhVp on line 9
Process exited with code 255.
Warning: Use of undefined constant this - assumed 'this' (this will throw an Error in a future version of PHP) in /in/AMhVp on line 9
Warning: get_class() expects parameter 1 to be object, string given in /in/AMhVp on line 9
array(2) {
["__CLASS__"]=>
string(11) "Test\MyTest"
["get_class()"]=>
bool(false)
}
Notice: Use of undefined constant this - assumed 'this' in /in/AMhVp on line 9
Warning: get_class() expects parameter 1 to be object, string given in /in/AMhVp on line 9
array(2) {
["__CLASS__"]=>
string(11) "Test\MyTest"
["get_class()"]=>
bool(false)
}
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/AMhVp on line 7
Process exited with code 255.