3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace a; 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; } } }); new \/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.0360.07012.00
5.4.70.0200.05512.00
5.4.60.0250.06612.00
5.4.50.0110.04112.00
5.4.40.0280.06411.98
5.4.30.0140.03911.98
5.4.20.0210.07211.98
5.4.10.0230.05711.98
5.4.00.0230.04911.47
5.3.180.0340.04512.67
5.3.170.0220.05512.67
5.3.160.0130.04112.67
5.3.150.0160.05912.67
5.3.140.0110.04312.66
5.3.130.0180.05912.66
5.3.120.0180.06112.66
5.3.110.0200.05812.66
5.3.100.0110.04512.12
5.3.90.0120.04212.09
5.3.80.0200.05512.08
5.3.70.0130.04012.08
5.3.60.0220.07312.07
5.3.50.0110.04512.01
5.3.40.0120.05212.00
5.3.30.0200.05211.96
5.3.20.0130.06011.74
5.3.10.0190.05411.70
5.3.00.0190.07411.69
5.2.170.0100.0349.16
5.2.160.0110.0339.16
5.2.150.0200.0489.16
5.2.140.0110.0389.16
5.2.130.0110.0379.12
5.2.120.0100.0379.11
5.2.110.0080.0369.12
5.2.100.0190.0519.12
5.2.90.0150.0489.11
5.2.80.0110.0349.11
5.2.70.0160.0509.11
5.2.60.0110.0339.06
5.2.50.0120.0339.03
5.2.40.0150.0539.01
5.2.30.0070.0358.98
5.2.20.0160.0498.98
5.2.10.0140.0318.90
5.2.00.0140.0488.76
5.1.60.0080.0288.04
5.1.50.0110.0368.05
5.1.40.0070.0308.03
5.1.30.0080.0308.37
5.1.20.0160.0438.40
5.1.10.0070.0328.12
5.1.00.0090.0298.12
5.0.50.0090.0246.59
5.0.40.0060.0246.46
5.0.30.0090.0566.27
5.0.20.0060.0256.24
5.0.10.0160.0356.22
5.0.00.0130.0506.21
4.4.90.0050.0184.78
4.4.80.0050.0184.75
4.4.70.0050.0174.75
4.4.60.0040.0194.75
4.4.50.0060.0164.77
4.4.40.0080.0474.71
4.4.30.0130.0334.76
4.4.20.0040.0214.84
4.4.10.0140.0314.85
4.4.00.0120.0444.76
4.3.110.0100.0444.67
4.3.100.0060.0184.66
4.3.90.0060.0154.63
4.3.80.0100.0444.58
4.3.70.0080.0174.63
4.3.60.0050.0194.63
4.3.50.0070.0184.63
4.3.40.0040.0304.54
4.3.30.0050.0193.29
4.3.20.0050.0183.28
4.3.10.0040.0163.24
4.3.00.0200.01713.29

preferences:
138.28 ms | 1394 KiB | 7 Q