3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $o = new stdClass(); print implode( "\n" , $o );

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.0250.00098.97
7.3.0rc30.0280.00516.07
7.3.0beta10.0100.00012.57
7.3.0alpha10.0040.00412.38
7.2.60.0100.00716.78
7.2.00.0030.00919.35
7.1.200.0070.00715.63
7.1.100.0900.01316.01
7.1.70.0000.00717.13
7.1.60.0060.00619.11
7.1.50.0140.01116.65
7.1.00.0030.07722.41
7.0.200.0090.00016.75
7.0.140.0030.07322.12
7.0.100.0300.08019.88
7.0.90.0100.07719.87
7.0.80.0000.08719.84
7.0.70.0270.08719.82
7.0.60.0030.07720.04
7.0.50.0130.07320.23
7.0.40.0030.05320.00
7.0.30.0100.04720.17
7.0.20.0170.07320.09
7.0.10.0030.04320.13
7.0.00.0030.05020.08
5.6.280.0070.07320.86
5.6.250.0030.04320.68
5.6.240.0070.06020.63
5.6.230.0070.08020.61
5.6.220.0000.08320.48
5.6.210.0070.04020.55
5.6.200.0070.09021.10
5.6.190.0070.06321.00
5.6.180.0100.04721.04
5.6.170.0070.06721.07
5.6.160.0100.04321.04
5.6.150.0030.08321.02
5.6.140.0130.04321.05
5.6.130.0070.07721.03
5.6.120.0100.05721.04
5.6.110.0230.05721.03
5.6.100.0100.05321.08
5.6.90.0130.06021.15
5.6.80.0030.05320.46
5.6.70.0030.07720.39
5.6.60.0100.07020.41
5.6.50.0070.08020.32
5.6.40.0030.03720.34
5.6.30.0130.06320.39
5.6.20.0000.03720.37
5.6.10.0100.07720.43
5.6.00.0130.04720.28
5.5.380.0130.06320.48
5.5.370.0030.05020.36
5.5.360.0130.04720.47
5.5.350.0070.07720.43
5.5.340.0100.07020.83
5.5.330.0070.07320.82
5.5.320.0100.04020.87
5.5.310.0000.07720.86
5.5.300.0130.06020.88
5.5.290.0030.04320.76
5.5.280.0100.07720.88
5.5.270.0030.07720.79
5.5.260.0130.07720.72
5.5.250.0070.04020.71
5.5.240.0070.03720.21
5.5.230.0100.03320.25
5.5.220.0070.06720.22
5.5.210.0070.04720.10
5.5.200.0030.06320.14
5.5.190.0000.09019.98
5.5.180.0130.07020.23
5.5.160.0070.04719.98
5.5.150.0100.07320.25
5.5.140.0100.08020.14
5.5.130.0100.07720.27
5.5.120.0100.08020.27
5.5.110.0130.06720.11
5.5.100.0170.07020.16
5.5.90.0070.04020.04
5.5.80.0000.08720.06
5.5.70.0200.03020.04
5.5.60.0030.06320.06
5.5.50.0070.06320.02
5.5.40.0030.04020.10
5.5.30.0070.05719.98
5.5.20.0070.07320.08
5.5.10.0030.04720.04
5.5.00.0130.07020.02
5.4.450.0030.04019.39
5.4.440.0170.04019.37
5.4.430.0130.06719.29
5.4.420.0030.05319.37
5.4.410.0070.07019.30
5.4.400.0000.04019.15
5.4.390.0070.04719.23
5.4.380.0070.07318.98
5.4.370.0100.07019.10
5.4.360.0030.03318.90
5.4.350.0130.04019.10
5.4.340.0070.07319.08
5.4.320.0000.03719.10
5.4.310.0130.06719.11
5.4.300.0000.06018.81
5.4.290.0030.07319.12
5.4.280.0200.03719.03
5.4.270.0130.06018.96
5.4.260.0030.06019.09
5.4.250.0130.06319.09
5.4.240.0100.07319.09
5.4.230.0030.04018.79
5.4.220.0000.04319.05
5.4.210.0100.07019.03
5.4.200.0130.07019.07
5.4.190.0070.03318.89
5.4.180.0030.07719.11
5.4.170.0070.05019.02
5.4.160.0030.06018.85
5.4.150.0000.05319.02
5.4.140.0130.03316.25
5.4.130.0100.03316.30
5.4.120.0030.06716.31
5.4.110.0030.04716.43
5.4.100.0000.04716.30
5.4.90.0000.04316.41
5.4.80.0100.06316.42
5.4.70.0070.06316.42
5.4.60.0030.06716.20
5.4.50.0030.07316.36
5.4.40.0030.07716.26
5.4.30.0100.04316.28
5.4.20.0030.04016.41
5.4.10.0270.02716.39
5.4.00.0030.06715.76
5.3.290.0030.08014.61
5.3.280.0230.05714.50
5.3.270.0030.06314.57
5.3.260.0100.06314.60
5.3.250.0000.07014.60
5.3.240.0130.07014.55
5.3.230.0000.08314.50
5.3.220.0130.06714.56
5.3.210.0070.04014.52
5.3.200.0070.07014.39
5.3.190.0070.04014.52
5.3.180.0070.06714.55
5.3.170.0100.07314.47
5.3.160.0130.02714.52
5.3.150.0100.05714.40
5.3.140.0170.06014.51
5.3.130.0100.05714.50
5.3.120.0130.06714.36
5.3.110.0130.03314.39
5.3.100.0100.04313.88
5.3.90.0100.06013.94
5.3.80.0030.07714.03
5.3.70.0070.05713.96
5.3.60.0030.07013.95
5.3.50.0070.06013.82
5.3.40.0030.07713.94
5.3.30.0070.07313.84
5.3.20.0070.07713.69
5.3.10.0070.05013.60
5.3.00.0100.06013.60
5.2.170.0030.06311.15
5.2.160.0030.06011.06
5.2.150.0100.03010.96
5.2.140.0030.06311.09
5.2.130.0000.03310.96
5.2.120.0030.06010.95
5.2.110.0170.05711.14
5.2.100.0030.03010.94
5.2.90.0030.04010.93
5.2.80.0070.02711.04
5.2.70.0070.05011.09
5.2.60.0070.05311.10
5.2.50.0030.06010.94
5.2.40.0200.05010.98
5.2.30.0070.06010.96
5.2.20.0000.05710.98
5.2.10.0030.05310.78
5.2.00.0030.03010.76
5.1.60.0000.04710.03
5.1.50.0070.02010.01
5.1.40.0030.0339.97
5.1.30.0100.04010.36
5.1.20.0030.03010.39
5.1.10.0070.0539.91
5.1.00.0000.03310.06
5.0.50.0100.0338.37
5.0.40.0030.0438.47
5.0.30.0000.0708.27
5.0.20.0000.0478.27
5.0.10.0000.0508.27
5.0.00.0030.0478.27
4.4.90.0070.0338.27
4.4.80.0030.0338.27
4.4.70.0030.0338.27
4.4.60.0030.0238.27
4.4.50.0070.0178.27
4.4.40.0070.0478.27
4.4.30.0070.0238.27
4.4.20.0070.0338.27
4.4.10.0070.0308.27
4.4.00.0000.0538.27
4.3.110.0000.0208.27
4.3.100.0000.0208.27
4.3.90.0100.0138.27
4.3.80.0030.0538.27
4.3.70.0070.0238.27
4.3.60.0070.0178.27
4.3.50.0000.0378.27
4.3.40.0000.0478.27
4.3.30.0030.0278.27
4.3.20.0000.0208.27
4.3.10.0000.0238.27
4.3.00.0000.0178.27