3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo exec(`ls -l`); ?>

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).
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.1.70.0080.00016.78
7.1.60.0190.00717.33
7.1.50.0060.01616.98
7.1.00.0100.07022.40
7.0.200.0080.00416.70
7.0.140.0070.06722.21
7.0.100.0030.04319.96
7.0.90.0070.05019.92
7.0.80.0200.04019.90
7.0.70.0200.08320.01
7.0.60.0370.07719.98
7.0.50.0170.08020.30
7.0.40.0100.04020.15
7.0.30.0100.03720.05
7.0.20.0100.07320.00
7.0.10.0100.09020.09
7.0.00.0030.07319.93
5.6.250.0070.04720.60
5.6.240.0130.03720.64
5.6.230.0030.04720.64
5.6.220.0070.07720.50
5.6.210.0100.07320.63
5.6.200.0070.08321.05
5.6.190.0030.09021.03
5.6.180.0070.06721.08
5.6.170.0070.08021.08
5.6.160.0030.09020.98
5.6.150.0200.06720.89
5.6.140.0100.07721.13
5.6.130.0100.08021.06
5.6.120.0070.05321.07
5.6.110.0100.08021.01
5.6.100.0200.07020.95
5.6.90.0170.08020.98
5.6.80.0070.08320.50
5.6.70.0170.06020.43
5.6.60.0100.06720.45
5.6.50.0000.09320.33
5.6.40.0070.07320.41
5.6.30.0100.07320.30
5.6.20.0030.08320.46
5.6.10.0030.08320.44
5.6.00.0170.06320.38
5.5.380.0200.06720.52
5.5.370.0100.08720.46
5.5.360.0070.04320.42
5.5.350.0130.06020.38
5.5.340.0130.07720.88
5.5.330.0070.07720.80
5.5.320.0030.07020.89
5.5.310.0070.06320.88
5.5.300.0070.09020.88
5.5.290.0070.06720.78
5.5.280.0100.05020.75
5.5.270.0070.07320.88
5.5.260.0070.08020.82
5.5.250.0170.07020.45
5.5.240.0070.07720.16
5.5.230.0100.07320.30
5.5.220.0070.06720.00
5.5.210.0100.07020.31
5.5.200.0100.07320.24
5.5.190.0100.07020.18
5.5.180.0130.07720.23
5.5.160.0170.07020.20
5.5.150.0030.07020.25
5.5.140.0030.08020.21
5.5.130.0000.08720.18
5.5.120.0070.06020.14
5.5.110.0100.08020.21
5.5.100.0030.07320.07
5.5.90.0100.07720.07
5.5.80.0030.05019.93
5.5.70.0070.05020.16
5.5.60.0130.04320.06
5.5.50.0030.07720.10
5.5.40.0100.04720.05
5.5.30.0030.07020.05
5.5.20.0130.07320.00
5.5.10.0100.07320.05
5.5.00.0100.07320.04
5.4.450.0030.07719.15
5.4.440.0070.08019.14
5.4.430.0100.07719.36
5.4.420.0030.08719.37
5.4.410.0100.07719.32
5.4.400.0130.06718.96
5.4.390.0130.05719.13
5.4.380.0070.04719.04
5.4.370.0170.06719.13
5.4.360.0100.06019.11
5.4.350.0030.04719.20
5.4.340.0070.07318.90
5.4.320.0100.07318.98
5.4.310.0030.05019.09
5.4.300.0100.06019.03
5.4.290.0100.07019.10
5.4.280.0030.08019.07
5.4.270.0030.07719.17
5.4.260.0100.08019.10
5.4.250.0130.06719.04
5.4.240.0070.07019.11
5.4.230.0100.06719.03
5.4.220.0130.07019.05
5.4.210.0070.03718.97
5.4.200.0130.07019.11
5.4.190.0100.04319.04
5.4.180.0100.07318.97
5.4.170.0100.07718.89
5.4.160.0070.04019.02
5.4.150.0100.04719.08
5.4.140.0130.05316.40
5.4.130.0030.07016.39
5.4.120.0030.07316.30
5.4.110.0070.06316.44
5.4.100.0000.06316.31
5.4.90.0130.07016.45
5.4.80.0130.06016.44
5.4.70.0030.08016.46
5.4.60.0100.06716.25
5.4.50.0030.05316.23
5.4.40.0030.08016.33
5.4.30.0030.07316.37
5.4.20.0000.05316.41
5.4.10.0230.06316.43
5.4.00.0070.07715.63
5.3.290.0100.07314.54
5.3.280.0030.05314.60
5.3.270.0030.07314.61
5.3.260.0070.05014.59
5.3.250.0030.04014.60
5.3.240.0000.07714.55
5.3.230.0000.05714.46
5.3.220.0000.07014.43
5.3.210.0030.06314.52
5.3.200.0070.06714.57
5.3.190.0200.06314.43
5.3.180.0030.04714.43
5.3.170.0000.07314.43
5.3.160.0100.07714.41
5.3.150.0200.06714.53
5.3.140.0100.07714.41
5.3.130.0100.07314.41
5.3.120.0130.07314.53
5.3.110.0130.06314.55
5.3.100.0070.07313.89
5.3.90.0030.07713.98
5.3.80.0070.07013.88
5.3.70.0070.07014.00
5.3.60.0100.07013.96
5.3.50.0130.04013.95
5.3.40.0100.03313.91
5.3.30.0030.05313.83
5.3.20.0100.06313.45
5.3.10.0070.07013.51
5.3.00.0030.07313.61
5.2.170.0030.06311.17
5.2.160.0100.05710.96
5.2.150.0070.05711.15
5.2.140.0000.07711.06
5.2.130.0070.05711.05
5.2.120.0030.06311.03
5.2.110.0070.06311.13
5.2.100.0070.06711.17
5.2.90.0070.05311.10
5.2.80.0100.05011.10
5.2.70.0070.06010.89
5.2.60.0100.05710.91
5.2.50.0070.05711.04
5.2.40.0070.03010.95
5.2.30.0100.04310.84
5.2.20.0100.04710.94
5.2.10.0000.06310.91
5.2.00.0030.06310.78
5.1.60.0070.05310.03
5.1.50.0030.0579.98
5.1.40.0030.0339.96
5.1.30.0100.04010.35
5.1.20.0100.05010.30
5.1.10.0100.05310.13
5.1.00.0100.04310.12
5.0.50.0000.0479.02
5.0.40.0000.0239.02
5.0.30.0070.0639.02
5.0.20.0030.0409.02
5.0.10.0070.0379.02
5.0.00.0000.0579.02
4.4.90.0000.0379.02
4.4.80.0070.0309.02
4.4.70.0000.0339.02
4.4.60.0000.0239.02
4.4.50.0000.0379.02
4.4.40.0070.0439.02
4.4.30.0000.0309.02
4.4.20.0030.0379.02
4.4.10.0070.0209.02
4.4.00.0030.0479.02
4.3.110.0000.0309.02
4.3.100.0000.0339.02
4.3.90.0030.0239.02
4.3.80.0030.0509.02
4.3.70.0030.0339.02
4.3.60.0070.0309.02
4.3.50.0030.0379.02
4.3.40.0070.0409.02
4.3.30.0030.0339.02
4.3.20.0000.0379.02
4.3.10.0000.0379.02
4.3.00.0000.0379.02