3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo version_compare('5.6.2.2b2', '5.6.2.2');

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.0150.00398.97
7.3.0rc30.0380.00616.20
7.3.0beta10.0050.00012.59
7.3.0alpha10.0060.00312.57
7.2.80.0080.00416.22
7.2.60.0060.00316.61
7.2.00.0070.00719.15
7.1.200.0060.00615.79
7.1.100.0040.00718.07
7.1.70.0000.00717.10
7.1.60.0070.01417.12
7.1.50.0120.00316.64
7.1.00.0030.04022.44
7.0.200.0030.01316.75
7.0.140.0130.06322.10
7.0.100.0070.05020.00
7.0.90.0070.08719.99
7.0.80.0100.04019.95
7.0.70.0070.05019.87
7.0.60.0270.08320.06
7.0.50.0030.09020.37
7.0.40.0070.06019.95
7.0.30.0070.08020.04
7.0.20.0070.04020.08
7.0.10.0070.08320.04
7.0.00.0030.05020.18
5.6.280.0070.07020.85
5.6.250.0130.04020.48
5.6.240.0170.06720.63
5.6.230.0030.05020.68
5.6.220.0100.08320.62
5.6.210.0070.05720.56
5.6.200.0000.05721.04
5.6.190.0030.06021.00
5.6.180.0070.07021.04
5.6.170.0030.05320.93
5.6.160.0130.05021.02
5.6.150.0100.03320.95
5.6.140.0030.04320.94
5.6.130.0100.06321.04
5.6.120.0030.04321.12
5.6.110.0000.05021.00
5.6.100.0100.05021.01
5.6.90.0030.04721.00
5.6.80.0070.06320.48
5.6.70.0030.08320.32
5.6.60.0100.06720.47
5.6.50.0070.08320.49
5.6.40.0070.08020.32
5.6.30.0070.05720.46
5.6.20.0070.07720.29
5.6.10.0070.05320.38
5.6.00.0030.04020.42
5.5.380.0030.08320.36
5.5.370.0000.09320.36
5.5.360.0070.06020.40
5.5.350.0100.08320.39
5.5.340.0100.08020.91
5.5.330.0070.04320.79
5.5.320.0070.06720.79
5.5.310.0030.09020.81
5.5.300.0000.06320.88
5.5.290.0030.06020.88
5.5.280.0000.04320.91
5.5.270.0100.03720.91
5.5.260.0070.05720.84
5.5.250.0070.04020.70
5.5.240.0030.04320.23
5.5.230.0070.06320.28
5.5.220.0070.06720.20
5.5.210.0030.03720.02
5.5.200.0100.07320.29
5.5.190.0100.08320.14
5.5.180.0030.08320.07
5.5.160.0070.07020.10
5.5.150.0030.08020.20
5.5.140.0030.07720.07
5.5.130.0030.07320.08
5.5.120.0070.04020.11
5.5.110.0070.04720.13
5.5.100.0100.04020.04
5.5.90.0200.07020.00
5.5.80.0000.05020.16
5.5.70.0130.06720.13
5.5.60.0030.07720.07
5.5.50.0070.05320.05
5.5.40.0070.06020.14
5.5.30.0070.04320.01
5.5.20.0030.06020.14
5.5.10.0000.05019.95
5.5.00.0100.03320.04
5.4.450.0070.07719.29
5.4.440.0000.05019.35
5.4.430.0030.04019.27
5.4.420.0100.03319.35
5.4.410.0100.07319.29
5.4.400.0130.06718.79
5.4.390.0030.03719.13
5.4.380.0130.05719.11
5.4.370.0100.03018.78
5.4.360.0030.05319.23
5.4.350.0070.07319.14
5.4.340.0030.08319.11
5.4.320.0130.06019.03
5.4.310.0030.04718.95
5.4.300.0070.04319.11
5.4.290.0030.06719.11
5.4.280.0100.07319.05
5.4.270.0130.04319.02
5.4.260.0070.07718.94
5.4.250.0030.03718.78
5.4.240.0070.03719.09
5.4.230.0070.06018.80
5.4.220.0000.04719.10
5.4.210.0070.03318.96
5.4.200.0130.07018.77
5.4.190.0170.05718.89
5.4.180.0030.04018.97
5.4.170.0030.06018.96
5.4.160.0100.07318.82
5.4.150.0070.03319.04
5.4.140.0030.06016.29
5.4.130.0070.06016.27
5.4.120.0030.07016.34
5.4.110.0070.06716.26
5.4.100.0100.06016.41
5.4.90.0000.03716.33
5.4.80.0000.07716.31
5.4.70.0100.07016.32
5.4.60.0030.03316.30
5.4.50.0100.07316.41
5.4.40.0070.06716.37
5.4.30.0030.07716.41
5.4.20.0030.07316.30
5.4.10.0030.06716.17
5.4.00.0000.03715.77
5.3.290.0070.05014.62
5.3.280.0070.07714.56
5.3.270.0000.04014.61
5.3.260.0030.06714.57
5.3.250.0170.09014.59
5.3.240.0030.08314.57
5.3.230.0030.07714.43
5.3.220.0070.03314.56
5.3.210.0130.07014.42
5.3.200.0070.05314.56
5.3.190.0170.06714.55
5.3.180.0100.07714.55
5.3.170.0100.07314.41
5.3.160.0000.05714.41
5.3.150.0030.08014.42
5.3.140.0100.07314.55
5.3.130.0070.07014.55
5.3.120.0000.07714.40
5.3.110.0070.06014.52
5.3.100.0030.07313.97
5.3.90.0030.03313.87
5.3.80.0030.06313.99
5.3.70.0030.03313.99
5.3.60.0070.05314.00
5.3.50.0030.07713.94
5.3.40.0030.03713.89
5.3.30.0070.03013.89
5.3.20.0100.07313.54
5.3.10.0030.03313.50
5.3.00.0070.03313.62
5.2.170.0030.06011.59
5.2.160.0100.03311.59
5.2.150.0070.06011.59
5.2.140.0100.05711.59
5.2.130.0030.02711.59
5.2.120.0100.05311.59
5.2.110.0030.03011.59
5.2.100.0070.04711.59
5.2.90.0070.05011.59
5.2.80.0030.04711.59
5.2.70.0100.05711.59
5.2.60.0030.05311.59
5.2.50.0000.03011.59
5.2.40.0100.05311.59
5.2.30.0030.03311.59
5.2.20.0070.05711.59
5.2.10.0000.03011.59
5.2.00.0100.02011.59
5.1.60.0000.02311.59
5.1.50.0030.02311.59
5.1.40.0000.04711.59
5.1.30.0030.05011.59
5.1.20.0000.05711.59
5.1.10.0130.01711.59
5.1.00.0070.05011.59
5.0.50.0030.03011.59
5.0.40.0000.03711.59
5.0.30.0030.04311.59
5.0.20.0000.02711.59
5.0.10.0100.03011.59
5.0.00.0070.06311.59
4.4.90.0030.03311.59
4.4.80.0030.03311.59
4.4.70.0000.04011.59
4.4.60.0030.03711.59
4.4.50.0000.01311.59
4.4.40.0030.05311.59
4.4.30.0030.03311.59
4.4.20.0030.03311.59
4.4.10.0000.03711.59
4.4.00.0030.04711.59
4.3.110.0000.03311.59
4.3.100.0000.02011.59
4.3.90.0030.02711.59
4.3.80.0030.05311.59
4.3.70.0000.03711.59
4.3.60.0030.03011.59
4.3.50.0030.02711.59
4.3.40.0030.02311.59
4.3.30.0000.03711.59
4.3.20.0000.03311.59
4.3.10.0030.03311.59
4.3.00.0000.02711.59