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 time(); $time->echoTime(); } } A::test(); usleep(200000); A::test();
based on 8k92f
Output for 5.5.0 - 7.1.0, 7.1.6, 7.1.10 - 7.2.0
14467996471446799647
Output for 7.1.5, 7.1.7
14467996471446799648