3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php strlen(array());

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.3.0rc40.0500.01098.97
7.3.0rc30.0300.01116.63
7.3.0beta10.0040.00412.37
7.3.0alpha10.0100.00012.71
7.2.80.0030.01216.33
7.2.60.0070.00716.36
7.1.200.0060.00615.76
7.1.70.0070.01016.88
7.1.60.0100.01319.32
7.1.50.0030.00916.54
7.1.00.0070.07322.40
7.0.200.0030.00616.77
7.0.140.0070.06721.92
7.0.100.0100.07319.87
7.0.90.0330.08020.01
7.0.80.0030.08019.88
7.0.70.0070.04719.84
7.0.60.0030.08719.86
7.0.50.0330.07720.34
7.0.40.0170.07320.00
7.0.30.0130.08020.07
7.0.20.0030.08319.99
7.0.10.0030.05320.08
7.0.00.0100.07720.10
5.6.280.0100.06320.88
5.6.250.0030.08320.62
5.6.240.0030.05020.66
5.6.230.0030.05320.62
5.6.220.0030.08020.61
5.6.210.0070.07720.54
5.6.200.0100.08021.00
5.6.190.0030.09321.00
5.6.180.0300.05721.03
5.6.170.0100.07321.07
5.6.160.0070.05721.04
5.6.150.0100.04321.04
5.6.140.0030.05021.13
5.6.130.0100.07321.10
5.6.120.0030.09021.03
5.6.110.0070.07321.16
5.6.100.0070.08021.02
5.6.90.0070.07320.99
5.6.80.0030.06720.43
5.6.70.0070.08320.54
5.6.60.0130.04020.41
5.6.50.0170.05720.40
5.6.40.0030.07720.40
5.6.30.0130.06320.40
5.6.20.0030.04720.43
5.6.10.0070.08020.34
5.6.00.0100.07720.47
5.5.380.0100.08020.48
5.5.370.0070.08020.35
5.5.360.0070.06320.42
5.5.350.0070.08320.36
5.5.340.0070.08020.79
5.5.330.0170.07720.88
5.5.320.0130.07720.91
5.5.310.0000.06020.88
5.5.300.0070.08020.83
5.5.290.0100.08320.75
5.5.280.0200.06320.82
5.5.270.0030.08320.87
5.5.260.0030.08020.82
5.5.250.0100.08320.69
5.5.240.0130.05320.11
5.5.230.0170.07020.22
5.5.220.0130.06720.01
5.5.210.0200.07020.14
5.5.200.0030.08020.09
5.5.190.0100.07720.11
5.5.180.0070.08020.21
5.5.160.0070.07320.19
5.5.150.0070.08320.22
5.5.140.0100.07720.12
5.5.130.0100.07720.10
5.5.120.0100.08320.11
5.5.110.0100.04020.20
5.5.100.0070.04320.13
5.5.90.0100.07320.06
5.5.80.0000.05720.16
5.5.70.0070.07720.00
5.5.60.0100.07320.01
5.5.50.0100.05320.05
5.5.40.0000.09020.13
5.5.30.0030.06319.95
5.5.20.0070.07719.91
5.5.10.0030.08320.05
5.5.00.0100.07719.99
5.4.450.0070.07019.46
5.4.440.0170.07019.44
5.4.430.0200.06019.38
5.4.420.0070.07019.57
5.4.410.0030.04719.21
5.4.400.0100.07318.93
5.4.390.0030.07719.04
5.4.380.0100.07319.06
5.4.370.0130.03718.95
5.4.360.0100.06719.05
5.4.350.0030.04718.92
5.4.340.0100.04719.04
5.4.320.0100.07319.10
5.4.310.0070.07719.05
5.4.300.0170.06318.91
5.4.290.0170.07019.14
5.4.280.0070.08019.13
5.4.270.0100.07018.78
5.4.260.0070.07019.03
5.4.250.0070.06719.13
5.4.240.0000.06018.99
5.4.230.0100.07718.94
5.4.220.0070.07019.04
5.4.210.0070.03718.89
5.4.200.0070.07019.14
5.4.190.0130.05719.07
5.4.180.0100.07319.01
5.4.170.0070.07719.02
5.4.160.0030.08018.97
5.4.150.0070.07019.04
5.4.140.0030.07316.23
5.4.130.0030.07316.30
5.4.120.0130.07016.22
5.4.110.0070.08016.31
5.4.100.0030.08016.31
5.4.90.0130.07016.26
5.4.80.0130.06716.34
5.4.70.0000.08016.29
5.4.60.0070.07016.38
5.4.50.0100.07016.19
5.4.40.0130.07016.25
5.4.30.0030.07716.42
5.4.20.0070.07316.41
5.4.10.0100.06716.33
5.4.00.0170.06715.68
5.3.290.0030.07314.60
5.3.280.0130.07314.45
5.3.270.0130.04014.56
5.3.260.0030.05714.59
5.3.250.0030.07714.56
5.3.240.0070.07714.60
5.3.230.0100.06714.59
5.3.220.0100.07014.43
5.3.210.0030.08714.38
5.3.200.0070.06014.55
5.3.190.0100.07314.54
5.3.180.0070.07014.47
5.3.170.0070.07014.52
5.3.160.0100.07014.50
5.3.150.0100.07014.55
5.3.140.0030.08014.41
5.3.130.0070.08014.50
5.3.120.0070.08014.41
5.3.110.0070.07314.40
5.3.100.0100.07314.02
5.3.90.0070.08313.86
5.3.80.0130.07014.00
5.3.70.0130.06313.79
5.3.60.0030.08313.99
5.3.50.0100.06713.90
5.3.40.0100.07013.80
5.3.30.0130.06013.89
5.3.20.0030.08013.44
5.3.10.0070.07013.56
5.3.00.0030.06313.51
5.2.170.0070.06011.19
5.2.160.0030.06310.98
5.2.150.0070.05710.99
5.2.140.0030.06711.19
5.2.130.0070.06310.94
5.2.120.0030.05710.89
5.2.110.0070.06011.05
5.2.100.0070.05710.91
5.2.90.0070.06011.09
5.2.80.0100.06011.12
5.2.70.0030.06711.05
5.2.60.0070.06310.91
5.2.50.0000.06311.00
5.2.40.0030.04010.79
5.2.30.0030.06011.02
5.2.20.0030.05711.02
5.2.10.0030.03010.88
5.2.00.0030.03010.74
5.1.60.0000.02710.02
5.1.50.0030.02310.01
5.1.40.0100.0239.97
5.1.30.0000.02710.33
5.1.20.0000.02710.39
5.1.10.0100.02710.11
5.1.00.0070.02710.07
5.0.50.0000.0238.54
5.0.40.0030.0178.48
5.0.30.0070.0278.48
5.0.20.0000.0238.48
5.0.10.0030.0208.48
5.0.00.0000.0338.48
4.4.90.0000.0378.48
4.4.80.0070.0278.48
4.4.70.0000.0408.48
4.4.60.0000.0308.48
4.4.50.0030.0178.48
4.4.40.0000.0308.48
4.4.30.0000.0178.48
4.4.20.0030.0138.48
4.4.10.0000.0178.48
4.4.00.0030.0238.48
4.3.110.0000.0178.48
4.3.100.0000.0178.48
4.3.90.0070.0108.48
4.3.80.0070.0208.48
4.3.70.0000.0178.48
4.3.60.0030.0108.48
4.3.50.0000.0178.48
4.3.40.0000.0278.48
4.3.30.0000.0178.48
4.3.20.0070.0108.48
4.3.10.0070.0138.48
4.3.00.0000.0278.48