3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php int $one = 1; echo "$one"; ?>
based on 3dP3l

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)
5.6.100.0000.07321.00
5.6.90.0100.08020.87
5.6.80.0030.07320.52
5.5.260.0100.05720.89
5.5.250.0100.08320.66
5.5.240.0100.06020.06
5.4.420.0070.06719.18
5.4.410.0100.07319.41
5.4.400.0030.04719.15
5.4.390.0000.08718.85
5.4.380.0070.07019.15
5.4.370.0100.07319.15
5.4.360.0100.08019.12
5.4.350.0030.05019.23
5.4.340.0070.07718.85
5.4.320.0100.07718.98
5.4.310.0100.07018.88
5.4.300.0100.07018.87
5.4.290.0170.06319.15
5.4.280.0030.05018.85
5.4.270.0070.06719.15
5.4.260.0030.07019.12
5.4.250.0070.05719.11
5.4.240.0100.06719.23
5.4.230.0070.07719.25
5.4.220.0130.07019.20
5.4.210.0130.04018.84
5.4.200.0000.04019.16
5.4.190.0030.04018.86
5.4.180.0030.07718.96
5.4.170.0030.05319.14
5.4.160.0200.05719.03
5.4.150.0100.06018.83
5.4.140.0000.08016.29
5.4.130.0030.06316.34
5.4.120.0000.05716.32
5.4.110.0100.07316.43
5.4.100.0070.06716.30
5.4.90.0000.04716.52
5.4.80.0200.06016.40
5.4.70.0070.07016.45
5.4.60.0100.06016.48
5.4.50.0070.08016.51
5.4.40.0170.06316.36
5.4.30.0030.06716.50
5.4.20.0030.08016.44
5.4.10.0030.05016.44
5.4.00.0070.03315.75
5.3.290.0070.06014.59
5.3.280.0070.06714.39
5.3.270.0070.07714.54
5.3.260.0030.04714.55
5.3.250.0030.05014.42
5.3.240.0030.06314.55
5.3.230.0030.04014.50
5.3.220.0000.05714.45
5.3.210.0000.04014.36
5.3.200.0070.04314.36
5.3.190.0170.03714.51
5.3.180.0170.06714.48
5.3.170.0100.05714.49
5.3.160.0100.03714.50
5.3.150.0070.04314.48
5.3.140.0100.04014.34
5.3.130.0030.04714.49
5.3.120.0000.05014.48
5.3.110.0100.07014.43
5.3.100.0070.03714.13
5.3.90.0030.05713.99
5.3.80.0100.03013.83
5.3.70.0100.05014.03
5.3.60.0100.06013.96
5.3.50.0030.04713.76
5.3.40.0070.07713.87
5.3.30.0070.07013.89
5.3.20.0030.03713.66
5.3.10.0000.04013.62
5.3.00.0070.07313.57
5.2.170.0130.05311.08
5.2.160.0030.03011.08
5.2.150.0200.05011.04
5.2.140.0030.03711.13
5.2.130.0170.05011.04
5.2.120.0030.04011.11
5.2.110.0030.05711.25
5.2.100.0070.06711.04
5.2.90.0130.05711.00
5.2.80.0000.04311.25
5.2.70.0130.06011.03
5.2.60.0100.05310.97
5.2.50.0070.06010.95
5.2.40.0030.03710.98
5.2.30.0070.03310.96
5.2.20.0030.04710.90
5.2.10.0070.02710.81
5.2.00.0000.03010.67
5.1.60.0070.0209.98
5.1.50.0030.04010.05
5.1.40.0100.03310.12
5.1.30.0000.05710.33
5.1.20.0100.05010.23
5.1.10.0130.05310.00
5.1.00.0030.05710.05
5.0.50.0000.0408.45
5.0.40.0030.0208.24
5.0.30.0030.0678.26
5.0.20.0000.0438.14
5.0.10.0030.0238.13
5.0.00.0000.0638.05
4.4.90.0030.0337.06
4.4.80.0000.0277.06
4.4.70.0030.0237.06
4.4.60.0000.0177.06
4.4.50.0030.0207.06
4.4.40.0030.0237.06
4.4.30.0000.0407.06
4.4.20.0030.0307.06
4.4.10.0000.0307.06
4.4.00.0030.0407.06
4.3.110.0030.0277.06
4.3.100.0000.0377.06
4.3.90.0030.0337.06
4.3.80.0000.0307.06
4.3.70.0030.0137.06
4.3.60.0000.0177.06
4.3.50.0070.0177.06
4.3.40.0030.0237.06
4.3.30.0000.0237.06
4.3.20.0000.0407.06
4.3.10.0000.0377.06
4.3.00.0000.0307.06