toStringhey, this is not cool
Fatal error: Uncaught TypeError: ToStringTest::__toString(): Return value must be of type string, none returned in /in/4slrZ:15
Stack trace:
#0 /in/4slrZ(19): ToStringTest->__toString()
#1 {main}
thrown in /in/4slrZ on line 15
Process exited with code 255.
Output for 7.4.0 - 7.4.33
toStringhey, this is not cool
Fatal error: Uncaught Error: Method ToStringTest::__toString() must return a string value in /in/4slrZ:19
Stack trace:
#0 {main}
thrown in /in/4slrZ on line 19
Process exited with code 255.
toStringhey, this is not cool
Recoverable fatal error: Method ToStringTest::__toString() must return a string value in /in/4slrZ on line 19
Process exited with code 255.
toStringhey, this is not cool
Catchable fatal error: Method ToStringTest::__toString() must return a string value in /in/4slrZ on line 19
Process exited with code 255.
Output for 5.2.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/4slrZ on line 12
toStringhey, this is not cool
Catchable fatal error: Method ToStringTest::__toString() must return a string value in /in/4slrZ on line 19
Process exited with code 255.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/4slrZ on line 12
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_NEW in /in/4slrZ on line 6
Process exited with code 255.