3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print `ls` ?>
based on LQKec

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.60.0110.00316.74
7.2.00.0030.01219.27
7.1.200.0160.00915.31
7.1.100.0000.01517.61
7.1.70.0000.01017.10
7.1.60.0140.01419.50
7.1.50.0070.01416.59
7.1.00.0070.07022.34
7.0.200.0800.00314.82
7.0.140.0070.07321.95
7.0.60.0030.04019.86
7.0.50.0030.04017.82
7.0.40.0000.04719.84
7.0.30.0300.08720.12
7.0.20.0300.08720.18
7.0.10.0370.06720.13
7.0.00.0070.04019.99
5.6.280.0070.07020.82
5.6.210.0030.04320.47
5.6.200.0100.07018.25
5.6.190.0070.05320.35
5.6.180.0270.04020.32
5.6.170.0370.07320.40
5.6.160.0130.05720.38
5.6.150.0030.04318.13
5.6.140.0070.05718.11
5.6.130.0100.07718.11
5.6.120.0030.07321.03
5.6.110.0030.04020.96
5.6.100.0100.05021.00
5.6.90.0030.06321.00
5.6.80.0130.08020.51
5.6.70.0000.04320.39
5.5.350.0230.05720.46
5.5.340.0030.05018.04
5.5.330.0000.04320.21
5.5.320.0070.05020.23
5.5.310.0270.08020.29
5.5.300.0100.06718.03
5.5.290.0030.05717.99
5.5.280.0100.06720.89
5.5.270.0070.04020.86
5.5.260.0070.07720.82
5.5.250.0100.08720.71
5.5.240.0070.03320.16
5.4.450.0300.06019.41
5.4.440.1100.08719.10
5.4.430.0970.05019.48
5.4.420.0770.06019.55
5.4.410.0170.05019.02
5.4.400.0870.06018.80
5.4.390.0870.05018.64
5.4.380.0900.06318.63
5.4.370.1000.06318.72
5.4.360.0830.06718.73
5.4.350.0130.05718.77
5.4.340.0470.05018.67
5.4.320.0930.06718.67
5.4.310.1030.05018.50
5.4.300.1000.05718.63
5.4.290.0800.06318.57
5.4.280.1000.06718.63
5.4.270.0770.05318.69
5.4.260.0900.06318.71
5.4.250.1000.06318.63
5.4.240.0970.06318.68
5.4.230.1000.05018.63
5.4.220.1270.06018.68
5.4.210.1130.05318.73
5.4.200.0800.05316.74
5.4.190.1170.05318.66
5.4.180.0970.05718.68
5.4.170.0900.05018.62
5.4.160.1030.04018.67
5.4.150.0970.06018.53
5.4.140.0900.05716.24
5.4.130.0730.05316.28
5.4.120.1130.04316.27
5.4.110.1130.03016.16
5.4.100.1030.05016.37
5.4.90.0730.06016.09
5.4.80.0570.05016.33
5.4.70.0530.04316.24
5.4.60.1030.04716.36
5.4.50.0870.04716.19
5.4.40.1130.04716.25
5.4.30.1100.05016.29
5.4.20.0930.05316.11
5.4.10.1030.04716.29
5.4.00.0630.05715.68
5.3.290.0400.07014.55
5.3.280.0970.05014.56
5.3.270.0800.06014.64
5.3.260.1030.05714.70
5.3.250.1000.06014.50
5.3.240.0970.07314.63
5.3.230.0870.05714.49
5.3.220.0800.04314.54
5.3.210.1030.06014.53
5.3.200.1070.05314.48
5.3.190.1030.06714.57
5.3.180.1070.05314.53
5.3.170.1070.06014.66
5.3.160.1030.04014.47
5.3.150.1300.05314.55
5.3.140.1000.05014.54
5.3.130.1170.06014.46
5.3.120.0930.06014.55
5.3.110.1200.06014.52
5.3.100.1370.04713.95
5.3.90.0700.06714.00
5.3.80.1130.06014.04
5.3.70.0970.05013.93
5.3.60.0970.07314.00
5.3.50.1270.05713.86
5.3.40.1330.05314.02
5.3.30.1330.04713.82
5.3.20.0670.06313.63
5.3.10.0970.06313.64
5.3.00.1330.06313.74
5.2.170.0770.04711.21
5.2.160.1330.05311.08
5.2.150.0770.06311.11
5.2.140.0930.06011.18
5.2.130.1000.04711.11
5.2.120.1100.05311.07
5.2.110.0970.05311.12
5.2.100.1000.04311.15
5.2.90.0770.04311.15
5.2.80.0700.05711.14
5.2.70.0870.03311.13
5.2.60.0830.04710.98
5.2.50.0900.04310.93
5.2.40.0730.04010.90
5.2.30.0670.04010.93
5.2.20.0630.05310.95
5.2.10.0670.05010.92
5.2.00.0670.03710.69
5.1.60.0570.03010.02
5.1.50.0570.0379.99
5.1.40.0730.03310.00
5.1.30.0570.04310.33
5.1.20.0800.04010.53
5.1.10.0730.03010.17
5.1.00.0670.03710.12
5.0.50.0300.0408.69
5.0.40.0430.0238.43
5.0.30.0570.0538.27
5.0.20.0400.0308.23
5.0.10.0430.0438.26
5.0.00.0400.0538.18
4.4.90.0370.0235.85
4.4.80.0330.0335.88
4.4.70.0430.0205.93
4.4.60.0330.0305.89
4.4.50.0270.0305.87
4.4.40.0300.0405.91
4.4.30.0270.0235.87
4.4.20.0430.0305.95
4.4.10.0370.0275.93
4.4.00.0430.0375.86
4.3.110.0370.0205.82
4.3.100.0400.0305.80
4.3.90.0230.0235.77
4.3.80.0200.0435.81
4.3.70.0470.0205.77
4.3.60.0370.0375.79
4.3.50.0400.0205.80
4.3.40.0130.0475.78
4.3.30.0200.0234.55
4.3.20.0100.0304.54
4.3.10.0170.0334.47
4.3.00.0130.0207.04