3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function __toString() { return NotExistsClass::notExistsMethod(); // make here any type of error } } print new Test(); // Fatal error: Method Test::__toString() must not throw an exception, caught Error: Class 'NotExistsClass' not found in D:\Portable\OSPanel\domains\test.test\test.php on line 0

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
149.5 ms | 2090 KiB | 8 Q