3v4l.org

run code in 300+ PHP versions simultaneously
<?php spl_autoload_register(function ($class) { echo $class . "\n"; if (0 === strpos(ltrim($class, '/'), 'Symfony\Component\EventDispatcher')) { if (file_exists($file = __DIR__.'/../'.substr(str_replace('\\', '/', $class), strlen('Symfony\Component\EventDispatcher')).'.php')) { require_once $file; } } }); namespace /; new Symfony\Component\EventDispatcher\doesntexist;

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.80.0140.05612.02
5.4.70.0130.06012.02
5.4.60.0140.05812.02
5.4.50.0150.05212.02
5.4.40.0100.04312.01
5.4.30.0100.04312.00
5.4.20.0090.04012.00
5.4.10.0100.05212.00
5.4.00.0080.04511.49
5.3.180.0110.05012.67
5.3.170.0130.06012.67
5.3.160.0120.06012.67
5.3.150.0120.05412.67
5.3.140.0100.05112.66
5.3.130.0100.06312.66
5.3.120.0120.05312.66
5.3.110.0120.06812.66
5.3.100.0110.04912.12
5.3.90.0120.05312.10
5.3.80.0120.04412.09
5.3.70.0100.05412.09
5.3.60.0090.04812.08
5.3.50.0110.04712.02
5.3.40.0090.04712.02
5.3.30.0100.04911.97
5.3.20.0080.04511.76
5.3.10.0090.05311.72
5.3.00.0090.04811.71

preferences:
142.11 ms | 1398 KiB | 8 Q