3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace My; foreach (get_defined_functions()['internal'] as $function) { if ($function === 'assert') continue; $declaration = sprintf( 'namespace My; function %s() { $start = \microtime(true); $retval = \call_user_func_array("%s", \func_get_args()); echo \microtime(true) - $start, PHP_EOL; return $retval; }', $function, $function, $function, $function ); eval($declaration); }; echo strtotime('today');

preferences:
26.1 ms | 407 KiB | 5 Q