Fatal error: Uncaught Error: Undefined constant "MyClass" in /in/F4ZLJ:18
Stack trace:
#0 {main}
thrown in /in/F4ZLJ on line 18
Process exited with code 255.
Warning: Use of undefined constant MyClass - assumed 'MyClass' (this will throw an Error in a future version of PHP) in /in/F4ZLJ on line 18
// <h1> value should equal foo
<h1>foo</h1>
Notice: Use of undefined constant MyClass - assumed 'MyClass' in /in/F4ZLJ on line 18
// <h1> value should equal foo
<h1>foo</h1>
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9
Notice: Undefined property: klass in /in/F4ZLJ on line 14
Fatal error: Cannot instantiate non-existent class: in /in/F4ZLJ on line 14
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Undefined property: klass in /in/F4ZLJ on line 14
Fatal error: Cannot instantiate non-existent class: in /in/F4ZLJ on line 14