3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $output = `ls -la`; echo $output;
based on E3iOm

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.3.0alpha10.0070.00612.63
7.2.60.0100.00417.07
7.2.00.0030.01219.54
7.1.100.0080.00818.18
7.1.70.0060.01317.10
7.1.60.0060.01619.46
7.1.50.0070.02117.13
7.1.00.0070.07322.57
7.0.200.0120.00614.89
7.0.140.0030.05321.93
7.0.60.0030.07319.97
7.0.50.0030.04317.76
7.0.40.0070.04320.38
7.0.30.0230.05720.21
7.0.20.0170.04320.18
7.0.10.0000.05020.16
7.0.00.0100.03719.98
5.6.280.0030.07721.02
5.6.210.0070.08320.64
5.6.200.0070.04718.20
5.6.190.0130.08020.61
5.6.180.0400.06720.39
5.6.170.0330.08020.48
5.6.160.0100.05320.71
5.6.150.0070.08318.19
5.6.140.0030.08318.24
5.6.130.0130.07318.23
5.6.120.0000.05721.05
5.6.110.0030.04720.89
5.6.100.0030.04321.11
5.6.90.0100.05320.98
5.6.80.0100.07020.51
5.5.350.0300.07720.45
5.5.340.0200.06718.02
5.5.330.0030.04720.15
5.5.320.0100.08020.27
5.5.310.0430.07320.28
5.5.300.0070.08018.05
5.5.290.0130.07717.98
5.5.280.0070.08320.87
5.5.270.0070.06320.63
5.5.260.0100.06720.80
5.5.250.0070.08320.79
5.5.240.0030.05020.26
5.4.450.0470.06319.52
5.4.440.0200.05319.41
5.4.430.0170.05719.48
5.4.420.0070.06319.09
5.4.410.0170.05319.34
5.4.400.0230.05719.16
5.4.390.0130.05718.76
5.4.380.0170.06018.64
5.4.370.0370.03718.68
5.4.360.0270.04318.69
5.4.350.0200.06018.71
5.4.340.0270.06018.71
5.4.320.0270.05018.67
5.4.310.0130.06318.68
5.4.300.0230.05018.68
5.4.290.0130.06018.58
5.4.280.0300.04318.55
5.4.270.0170.06018.67
5.4.260.0270.05318.67
5.4.250.0270.04718.73
5.4.240.0170.06718.75
5.4.230.0270.04718.70
5.4.220.0130.06018.63
5.4.210.0100.05718.73
5.4.200.0300.06316.47
5.4.190.0130.06018.73
5.4.180.0200.05318.70
5.4.170.0130.06018.73
5.4.160.0270.04318.49
5.4.150.0170.05718.71
5.4.140.0230.04316.26
5.4.130.0170.05016.19
5.4.120.0300.04016.28
5.4.110.0170.05016.25
5.4.100.0130.05316.32
5.4.90.0200.05016.22
5.4.80.0130.05316.23
5.4.70.0270.04716.11
5.4.60.0170.05316.23
5.4.50.0170.05016.11
5.4.40.0330.05716.23
5.4.30.0170.05316.22
5.4.20.0200.04716.29
5.4.10.0170.05316.10
5.4.00.0170.05015.68
5.3.290.0130.06014.58
5.3.280.0200.05714.58
5.3.270.0170.05314.61
5.3.260.0270.07014.70
5.3.250.0330.05714.52
5.3.240.0200.05714.70
5.3.230.0230.04714.55
5.3.220.0270.04314.66
5.3.210.0200.05714.50
5.3.200.0130.06014.55
5.3.190.0300.04314.66
5.3.180.0230.04714.66
5.3.170.0170.05314.53
5.3.160.0230.04714.52
5.3.150.0100.06314.50
5.3.140.0230.05314.47
5.3.130.0170.06014.56
5.3.120.0230.05014.46
5.3.110.0200.06314.53
5.3.100.0300.05014.07
5.3.90.0130.05714.11
5.3.80.0170.05014.12
5.3.70.0230.04314.09
5.3.60.0100.05714.00
5.3.50.0200.04713.89
5.3.40.0200.04713.86
5.3.30.0270.03713.84
5.3.20.0200.05713.68
5.3.10.0200.06013.70
5.3.00.0100.05713.74
5.2.170.0130.04311.13
5.2.160.0130.04011.30
5.2.150.0170.04011.30
5.2.140.0130.04311.12
5.2.130.0100.05011.16
5.2.120.0070.05011.14
5.2.110.0170.03711.25
5.2.100.0200.03311.09
5.2.90.0070.05311.16
5.2.80.0100.04711.07
5.2.70.0200.03711.11
5.2.60.0100.06011.03
5.2.50.0130.05310.99
5.2.40.0170.04010.98
5.2.30.0100.04710.90
5.2.20.0100.05011.09
5.2.10.0070.04310.98
5.2.00.0130.04010.70
5.1.60.0070.0379.98
5.1.50.0100.03710.05
5.1.40.0200.02710.00
5.1.30.0100.03710.34
5.1.20.0070.04010.36
5.1.10.0170.03010.19
5.1.00.0100.03310.09
5.0.50.0030.0338.61
5.0.40.0100.0308.43
5.0.30.0100.0408.34
5.0.20.0070.0308.22
5.0.10.0030.0408.27
5.0.00.0100.0408.23
4.4.90.0030.0305.88
4.4.80.0130.0205.85
4.4.70.0070.0235.80
4.4.60.0030.0275.86
4.4.50.0130.0135.89
4.4.40.0070.0335.89
4.4.30.0030.0235.87
4.4.20.0170.0105.94
4.4.10.0000.0275.95
4.4.00.0030.0375.95
4.3.110.0000.0275.74
4.3.100.0170.0105.80
4.3.90.0070.0205.78
4.3.80.0030.0375.80
4.3.70.0030.0235.82
4.3.60.0030.0235.86
4.3.50.0070.0235.82
4.3.40.0000.0405.82
4.3.30.0030.0234.64
4.3.20.0070.0204.54
4.3.10.0030.0234.61
4.3.00.0100.0209.39