Fatal error: Uncaught Exception: bar in /in/ZkeH6:7
Stack trace:
#0 /in/ZkeH6(13): foo->__toString()
#1 {main}
thrown in /in/ZkeH6 on line 7
Process exited with code 255.
Fatal error: Method foo::__toString() must not throw an exception in /in/ZkeH6 on line 0
Process exited with code 255.
Output for 5.3.3 - 5.3.17, 5.4.0 - 5.4.7
Fatal error: Method foo::__toString() must not throw an exception in /in/ZkeH6 on line 13
Process exited with code 255.
Output for 5.2.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/ZkeH6 on line 7
Fatal error: Method foo::__toString() must not throw an exception in /in/ZkeH6 on line 13
Process exited with code 255.
Output for 5.0.5, 5.1.0 - 5.1.6
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/ZkeH6 on line 7
Fatal error: Uncaught exception 'Exception' with message 'bar' in /in/ZkeH6:7
Stack trace:
#0 /in/ZkeH6(13): foo->__toString()
#1 {main}
thrown in /in/ZkeH6 on line 7
Process exited with code 255.
Output for 5.0.3 - 5.0.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/ZkeH6 on line 7
Fatal error: Uncaught exception 'Exception' with message 'bar' in /in/ZkeH6:7
Stack trace:
#0 /in/ZkeH6(7): foo::__toString()
#1 /in/ZkeH6(13): foo->__toString()
#2 /in/ZkeH6(13): unknown()
#3 {main}
thrown in /in/ZkeH6 on line 7
Process exited with code 255.
Output for 5.0.0 - 5.0.2
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/ZkeH6 on line 7
Fatal error: Uncaught exception 'Exception' with message 'bar' in /in/ZkeH6:7
Stack trace:
#0 /in/ZkeH6(13): foo->__toString()
#1 /in/ZkeH6(13): unknown()
#2 {main}
thrown in /in/ZkeH6 on line 7
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_NEW in /in/ZkeH6 on line 7
Process exited with code 255.