Fatal error: Uncaught Error: Undefined constant "Bar\B" in /in/F0N3Q:20
Stack trace:
#0 {main}
thrown in /in/F0N3Q on line 20
Process exited with code 255.
Warning: Use of undefined constant B - assumed 'B' (this will throw an Error in a future version of PHP) in /in/F0N3Q on line 20
Fatal error: Uncaught Error: Call to a member function hello() on string in /in/F0N3Q:21
Stack trace:
#0 {main}
thrown in /in/F0N3Q on line 21
Process exited with code 255.
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.25
Notice: Use of undefined constant B - assumed 'B' in /in/F0N3Q on line 20
Fatal error: Uncaught Error: Call to a member function hello() on string in /in/F0N3Q:21
Stack trace:
#0 {main}
thrown in /in/F0N3Q on line 21
Process exited with code 255.
Output for 5.6.0 - 5.6.28
Notice: Use of undefined constant B - assumed 'B' in /in/F0N3Q on line 20
Fatal error: Call to a member function hello() on string in /in/F0N3Q on line 21
Process exited with code 255.
Notice: Use of undefined constant B - assumed 'B' in /in/F0N3Q on line 20
Fatal error: Call to a member function hello() on a non-object in /in/F0N3Q on line 21
Process exited with code 255.