3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(spl_object_hash(new StdClass)); // 00000000054acbeb 0000000050eaeb6f

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.10.0060.00916.27
7.3.00.0070.01016.50
7.2.130.0090.00616.64
7.2.120.0060.00316.58
7.2.110.0120.00316.37
7.2.100.0130.00316.76
7.2.90.0110.00016.61
7.2.80.0030.01316.48
7.2.70.0090.00916.52
7.2.60.0070.00716.82
7.2.50.0110.00716.47
7.2.40.0110.00316.40
7.2.30.0040.01216.76
7.2.20.0090.00616.38
7.2.10.0060.00316.50
7.2.00.0050.01217.72
7.1.250.0050.00615.49
7.1.200.0100.00315.56
7.1.100.0110.00017.97
7.1.70.0040.01116.99
7.1.60.0100.01019.40
7.1.50.0070.01016.51
7.1.00.0070.07322.33
7.0.200.0240.01014.68
7.0.60.0030.05021.80
7.0.50.0030.04717.76
7.0.40.0100.05720.08
7.0.30.0230.05020.00
7.0.20.0300.07720.04
7.0.10.0070.07320.13
7.0.00.0100.08320.08
5.6.280.0030.03721.11
5.6.210.0130.08020.48
5.6.200.0000.07318.18
5.6.190.0100.09020.64
5.6.180.0300.07020.35
5.6.170.0100.04720.41
5.6.160.0070.04720.47
5.6.150.0070.03718.11
5.6.140.0100.08018.12
5.6.130.0030.06018.12
5.6.120.0100.08320.97
5.6.110.0130.08020.87
5.6.100.0100.08021.10
5.6.90.0130.07721.09
5.6.80.0030.06720.37
5.5.350.0000.08320.40
5.5.340.0070.04017.89
5.5.330.0000.07720.29
5.5.320.0570.06320.50
5.5.310.0330.05020.29
5.5.300.0030.08017.88
5.5.290.0130.07718.02
5.5.280.0070.06720.89
5.5.270.0030.04320.78
5.5.260.0070.07020.87
5.5.250.0070.06720.61
5.5.240.0170.07320.06
5.4.450.0270.07319.52
5.4.440.0570.06019.38
5.4.430.0400.04719.42
5.4.420.0700.05719.38
5.4.410.0630.06019.34
5.4.400.0730.05719.06
5.4.390.0700.07319.16
5.4.380.0670.05719.08
5.4.370.0770.05018.89
5.4.360.0630.05019.07
5.4.350.0730.04319.05
5.4.340.0500.06719.04
5.4.320.0700.05719.18
5.4.310.0600.05719.05
5.4.300.0530.06319.07
5.4.290.0170.06019.23
5.4.280.0070.06318.86
5.4.270.0070.05719.06
5.4.260.0130.05719.10
5.4.250.0370.05019.11
5.4.240.0130.05319.09
5.4.230.0400.05019.10
5.4.220.0730.06019.21
5.4.210.0770.07018.85
5.4.200.0200.05019.10
5.4.190.0370.05319.25
5.4.180.0370.05719.05
5.4.170.0130.05719.09
5.4.160.0130.06019.13
5.4.150.0170.05319.23
5.4.140.0130.05316.24
5.4.130.0170.04716.43
5.4.120.0130.05316.45
5.4.110.0300.04716.58
5.3.290.0570.05714.59
5.3.280.0130.05014.60
5.3.270.0200.04714.54
5.3.260.0200.06014.49
5.3.250.0100.05014.69
5.3.240.0130.05014.61
5.3.230.0130.06014.49
5.3.220.0230.04314.49
5.3.210.0070.06314.49