3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); set_error_handler(function($a, $b, $c, $d) { return false; }); trigger_error('E_USER_WARNING'); echo 'toto'; ?>
based on a3gZX

Here you find the average performance (time & memory) of each version. A greyed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.00.0060.01019.34
7.1.100.0070.00718.20
7.1.70.0040.00417.06
7.1.60.0060.01819.46
7.1.50.0030.02216.57
7.1.00.0070.07322.50
7.0.200.0000.00716.73
7.0.140.0000.03722.00
7.0.60.0000.04319.86
7.0.50.0000.05317.88
7.0.40.0100.07719.96
7.0.30.0330.07020.34
7.0.20.0170.07320.23
7.0.10.0030.05320.34
7.0.00.0230.06720.14
5.6.280.0070.07021.03
5.6.210.0100.04320.65
5.6.200.0200.06718.29
5.6.190.0170.06320.61
5.6.180.0300.08020.73
5.6.170.0370.06020.54
5.6.160.0070.05720.43
5.6.150.0070.03718.12
5.6.140.0030.09018.19
5.6.130.0030.07018.15
5.6.120.0030.05721.04
5.6.110.0100.08021.12
5.6.100.0100.05320.98
5.6.90.0000.04320.98
5.6.80.0030.04320.40
5.5.350.0000.08720.41
5.5.340.0100.06017.98
5.5.330.0100.03320.19
5.5.320.0170.04320.51
5.5.310.0430.04320.34
5.5.300.0030.08317.91
5.5.290.0130.07717.98
5.5.280.0130.04020.68
5.5.270.0130.07320.98
5.5.260.0070.03720.64
5.5.250.0100.03720.77
5.5.240.4100.03720.21
5.4.450.0470.06019.57
5.4.440.0500.05719.56
5.4.430.0170.05019.39
5.4.420.0200.05019.41
5.4.410.0070.05719.52
5.4.400.0100.05719.07
5.4.390.0300.06318.64
5.4.380.0300.07318.59
5.4.370.0170.06318.74
5.4.360.0230.06018.47
5.4.350.0300.05718.47
5.4.340.0270.07018.76
5.4.320.0300.06718.69
5.4.310.0200.06318.80
5.4.300.0200.05718.69
5.4.290.0170.06018.50
5.4.280.0270.04718.78
5.4.270.0370.03718.78
5.4.260.0200.05318.61
5.4.250.0230.05718.65
5.4.240.0230.05318.73
5.4.230.0270.05318.59
5.4.220.0300.06718.71
5.4.210.0230.05318.45
5.4.200.0300.04016.51
5.4.190.0270.04318.77
5.4.180.0330.04718.82
5.4.170.0270.07018.59
5.4.160.0230.05318.76
5.4.150.0170.06718.70
5.4.140.0300.04316.25
5.4.130.0230.04016.35
5.4.120.0130.06016.45
5.4.110.0170.05016.43
5.4.100.0100.06716.43
5.4.90.0130.05716.17
5.4.80.0170.05016.24
5.4.70.0130.05716.21
5.4.60.0170.05316.26
5.4.50.0230.04316.43
5.4.40.0130.07316.30
5.4.30.0330.05316.24
5.4.20.0130.05316.28
5.4.10.0200.04716.25
5.4.00.0230.04315.77
5.3.290.0200.05314.68
5.3.280.0130.05714.64
5.3.270.0230.05314.71
5.3.260.0300.04314.64
5.3.250.0270.04314.74
5.3.240.0170.05014.58
5.3.230.0130.06014.61
5.3.220.0200.05014.61
5.3.210.0330.06014.61
5.3.200.0300.05714.69
5.3.190.0200.06714.59
5.3.180.0100.06714.78
5.3.170.0200.05314.61
5.3.160.0230.05714.70
5.3.150.0230.04714.77
5.3.140.0230.04714.57
5.3.130.0230.06714.56
5.3.120.0270.07314.66
5.3.110.0230.07014.58
5.3.100.0130.06714.08
5.3.90.0230.05714.01
5.3.80.0200.05014.15
5.3.70.0270.05014.24
5.3.60.0270.06314.02
5.3.50.0200.05014.00
5.3.40.0200.05314.00
5.3.30.0330.05314.07
5.3.20.0170.05313.83
5.3.10.0230.05013.67
5.3.00.0130.05713.68
5.2.170.0200.05311.28
5.2.160.0130.06011.09
5.2.150.0200.05311.19
5.2.140.0270.04711.09
5.2.130.0270.04711.03
5.2.120.0230.05011.08
5.2.110.0070.04711.24
5.2.100.0200.03711.02
5.2.90.0130.04011.08
5.2.80.0070.05011.17
5.2.70.0130.05011.03
5.2.60.0130.04711.22
5.2.50.0200.05011.06
5.2.40.0200.05010.94
5.2.30.0130.04011.13
5.2.20.0070.04310.99
5.2.10.0100.04010.94
5.2.00.0130.03710.85
5.1.60.0070.03710.03
5.1.50.0130.0339.95
5.1.40.0170.03710.00
5.1.30.0070.04310.38
5.1.20.0200.03010.49
5.1.10.0130.03310.09
5.1.00.0170.03710.04
5.0.50.0100.0378.60
5.0.40.0030.0408.39
5.0.30.0030.0608.21
5.0.20.0100.0338.21
5.0.10.0100.0338.37
5.0.00.0070.0538.19
4.4.90.0100.0235.93
4.4.80.0130.0235.89
4.4.70.0070.0275.87
4.4.60.0030.0235.87
4.4.50.0070.0205.89
4.4.40.0030.0375.89
4.4.30.0100.0205.87
4.4.20.0000.0275.97
4.4.10.0100.0235.92
4.4.00.0170.0305.95
4.3.110.0070.0275.84
4.3.100.0100.0235.87
4.3.90.0030.0235.78
4.3.80.0100.0305.89
4.3.70.0070.0275.87
4.3.60.0100.0235.86
4.3.50.0030.0275.82
4.3.40.0070.0375.76
4.3.30.0100.0174.68
4.3.20.0070.0274.68
4.3.10.0030.0234.68
4.3.00.0100.02012.52