3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 'test'; echo 5 + 4;

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.2.00.0080.00419.17
7.1.100.0070.01117.89
7.1.70.0040.00417.03
7.1.60.0060.00919.50
7.1.50.0040.01816.82
7.1.00.0070.07322.42
7.0.200.0100.01016.56
7.0.140.0030.07021.95
7.0.60.0030.07020.00
7.0.50.0030.08317.87
7.0.40.0100.08020.41
7.0.30.0330.06020.06
7.0.20.0200.03719.99
7.0.10.0100.04720.18
7.0.00.0000.08320.20
5.6.280.0130.06320.86
5.6.210.0430.06020.49
5.6.200.0130.04718.18
5.6.190.0130.05720.33
5.6.180.0270.04720.38
5.6.170.0300.07320.38
5.6.160.0000.04320.38
5.6.150.0070.06018.20
5.6.140.0030.06018.11
5.6.130.0070.05318.25
5.6.120.0030.05321.11
5.6.110.0030.04320.95
5.6.100.0170.05321.13
5.6.90.0000.08721.02
5.6.80.0030.08320.36
5.6.70.0100.03720.43
5.5.350.0130.07720.31
5.5.340.0030.07717.98
5.5.330.0070.05020.19
5.5.320.0070.07320.21
5.5.310.0200.03720.25
5.5.300.0030.07017.93
5.5.290.0000.04717.88
5.5.280.0070.08320.89
5.5.270.0100.08020.75
5.5.260.0200.07320.88
5.5.250.0130.06720.49
5.5.240.0030.05320.25
5.4.450.0230.07019.34
5.4.440.0770.06019.27
5.4.430.0770.05019.48
5.4.420.0870.05719.60
5.4.410.0830.07019.11
5.4.400.0170.05318.62
5.4.390.0270.04718.68
5.4.380.0200.05318.58
5.4.370.0270.04318.66
5.4.360.0170.05018.48
5.4.350.0170.05318.57
5.4.340.0200.04718.48
5.4.320.0270.07018.67
5.4.310.0270.05718.61
5.4.300.0130.05718.52
5.4.290.0130.05718.67
5.4.280.0170.05318.69
5.4.270.0270.04718.43
5.4.260.0200.06318.67
5.4.250.0270.05318.62
5.4.240.0100.06318.71
5.4.230.0270.05718.66
5.4.220.0200.05718.48
5.4.210.0170.05718.71
5.4.200.0070.06016.68
5.4.190.0170.05318.56
5.4.180.0170.05318.36
5.4.170.0130.06318.50
5.4.160.0100.06018.55
5.4.150.0230.04718.55
5.4.140.0170.05316.25
5.4.130.0200.04316.14
5.4.120.0200.05316.18
5.4.110.0030.06316.27
5.4.100.0230.04716.15
5.4.90.0100.07316.19
5.4.80.0100.06316.02
5.4.70.0200.05016.26
5.4.60.0200.06716.25
5.4.50.0230.05716.21
5.4.40.0200.04715.99
5.4.30.0300.06016.16
5.4.20.0300.06016.00
5.4.10.0370.05016.25
5.4.00.0170.07015.63
5.3.290.0270.06314.59
5.3.280.0230.05314.50
5.3.270.0230.04714.54
5.3.260.0300.06314.67
5.3.250.0070.06014.53
5.3.240.0170.05314.69
5.3.230.0200.05014.59
5.3.220.0130.05714.53
5.3.210.0170.06014.58
5.3.200.0230.05314.57
5.3.190.0230.06714.61
5.3.180.0300.04014.59
5.3.170.0270.06714.47
5.3.160.0100.05714.46
5.3.150.0170.05714.61
5.3.140.0370.03714.58
5.3.130.0270.05314.64
5.3.120.0170.06014.45
5.3.110.0130.06714.47
5.3.100.0130.05713.96
5.3.90.0170.05314.01
5.3.80.0070.06014.00
5.3.70.0170.05314.00
5.3.60.0170.05014.07
5.3.50.0130.05713.85
5.3.40.0170.05714.03
5.3.30.0100.05313.94
5.3.20.0230.04313.62
5.3.10.0100.05313.55
5.3.00.0270.04713.61
5.2.170.0170.04711.20
5.2.160.0000.05011.07
5.2.150.0070.04311.19
5.2.140.0130.04011.19
5.2.130.0130.04311.10
5.2.120.0200.03311.25
5.2.110.0170.04011.15
5.2.100.0130.04711.13
5.2.90.0070.04711.05
5.2.80.0100.05011.05
5.2.70.0130.04711.23
5.2.60.0170.03711.10
5.2.50.0300.02711.05
5.2.40.0270.03011.05
5.2.30.0070.05011.00
5.2.20.0100.04711.01
5.2.10.0230.03311.07
5.2.00.0130.04010.70
5.1.60.0100.04010.10
5.1.50.0130.04010.17
5.1.40.0200.0339.99
5.1.30.0170.03710.38
5.1.20.0170.04010.45
5.1.10.0200.03310.17
5.1.00.0170.03710.07
5.0.50.0170.0238.67
5.0.40.0170.0238.44
5.0.30.0100.0478.23
5.0.20.0130.0308.27
5.0.10.0100.0238.36
5.0.00.0130.0438.34
4.4.90.0130.0235.90
4.4.80.0100.0275.88
4.4.70.0030.0335.91
4.4.60.0030.0335.88
4.4.50.0070.0305.94
4.4.40.0070.0375.94
4.4.30.0100.0175.86
4.4.20.0100.0175.97
4.4.10.0100.0206.00
4.4.00.0100.0405.88
4.3.110.0030.0375.87
4.3.100.0100.0275.82
4.3.90.0030.0235.82
4.3.80.0130.0405.86
4.3.70.0030.0335.77
4.3.60.0100.0275.85
4.3.50.0000.0375.79
4.3.40.0100.0405.86
4.3.30.0070.0274.63
4.3.20.0030.0304.51
4.3.10.0030.0274.61
4.3.00.0070.0206.98