3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $times = 1000 * 100 * 10; $obj = new stdClass; $time = microtime(true); for ($i = 0; $i <= $times; $i++) echo spl_object_hash($obj); $time = microtime(true) - $time; printf('spl_object_hash: %.4f', $time); $time = microtime(true); for ($i = 0; $i <= $times; $i++) echo get_class($obj); $time = microtime(true) - $time; printf('get_class: %.4f', $time);

Abusive script

This script was stopped while abusing our resources