3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo {} $foo = new Foo; $start = microtime(true); for($i=0; $i<1000000; $i++) { get_class($foo); } echo (microtime(true) - $start); echo "<br>\n"; $start = microtime(true); for($i=0; $i<1000000; $i++) { (new ReflectionClass($foo))->getName(); } echo (microtime(true) - $start);

preferences:
33.26 ms | 402 KiB | 5 Q