3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class time{ public function echoTime() { echo time(); } } class A { public static function test() { $time = new tate(); $time->echoTime(); } } A::test(); usleep(2000); A::test();
based on VAKvc
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'tate' not found in /in/fKmug:9 Stack trace: #0 /in/fKmug(14): A::test() #1 {main} thrown in /in/fKmug on line 9
Process exited with code 255.
Output for 5.5.0 - 5.6.28
Fatal error: Class 'tate' not found in /in/fKmug on line 9
Process exited with code 255.