3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function () {}); //error_reporting(0); // Yeah, not the best solution class SomeClass {} function test(SomeClass $instance) { echo 'wtf: '.$instance; } // NOTE: E_RECOVERABLE_ERROR (4096) occurs here test(1); q(); test(2);

preferences:
69.99 ms | 402 KiB | 5 Q