3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php srand(date("d")); print $rand(); ?>
based on 7i59n

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.0030.01016.74
7.3.00.0000.01116.77
7.2.130.0110.00016.61
7.2.120.0030.00916.83
7.2.110.0070.00716.83
7.2.100.0000.01116.95
7.2.90.0040.00816.94
7.2.80.0130.00016.73
7.2.70.0070.01016.78
7.2.60.0030.00916.59
7.2.50.0090.00616.97
7.2.40.0100.00616.81
7.2.30.0070.00317.00
7.2.20.0060.00916.87
7.2.10.0000.01116.91
7.2.00.0050.00617.98
7.1.250.0060.00615.74
7.1.200.0030.01015.86
7.1.100.0000.01217.93
7.1.70.0030.00616.92
7.1.60.0110.01419.13
7.1.50.0190.01634.79
7.1.00.0030.07322.37
7.0.200.0030.00516.67
7.0.80.0330.04019.84
7.0.70.0330.04019.97
7.0.60.0470.08719.92
7.0.50.0330.04020.38
7.0.40.0030.08320.17
7.0.30.0170.07320.14
7.0.20.0100.03020.12
7.0.10.0100.08020.03
7.0.00.0000.04719.99
5.6.280.0030.03320.90
5.6.230.0100.07020.50
5.6.220.0130.08020.70
5.6.210.0130.06020.68
5.6.200.0170.07321.02
5.6.190.0000.04721.13
5.6.180.0130.07721.11
5.6.170.0130.02720.95
5.6.160.0030.04021.08
5.6.150.0230.07021.07
5.6.140.0100.08020.94
5.6.130.0100.07021.09
5.6.120.0100.03720.93
5.6.110.0070.08721.03
5.6.100.0000.07321.15
5.6.90.0070.06720.99
5.6.80.0030.07020.41
5.6.70.0170.06720.47
5.6.60.0130.06720.50
5.6.50.0030.03320.48
5.6.40.0070.03020.32
5.6.30.0070.08320.38
5.6.20.0030.06020.43
5.6.10.0100.07020.28
5.6.00.0130.06320.41
5.5.370.0100.06320.41
5.5.360.0030.03720.40
5.5.350.0100.07720.36
5.5.340.0030.04320.91
5.5.330.0030.03320.77
5.5.320.0000.03720.68
5.5.310.0070.03320.63
5.5.300.0100.06720.86
5.5.290.0100.08320.75
5.5.280.0000.04720.90
5.5.270.0100.07720.82
5.5.260.0030.07320.84
5.5.250.0070.03720.73
5.5.240.0030.04020.18
5.5.230.0100.06720.23
5.5.220.0100.07020.23
5.5.210.0030.07020.20
5.5.200.0070.03020.10
5.5.190.0000.04720.21
5.5.180.0130.07720.07
5.5.160.0070.03719.97
5.5.150.0100.07720.25
5.5.140.0100.08320.13
5.5.130.0070.06320.22
5.5.120.0070.06720.21
5.5.110.0100.03320.11
5.5.100.0070.04020.14
5.5.90.0100.03720.12
5.5.80.0030.04020.05
5.5.70.0030.07720.15
5.5.60.0070.03720.03
5.5.50.0000.07319.91
5.5.40.0000.04020.15
5.5.30.0070.03020.03
5.5.20.0000.04720.05
5.5.10.0000.04320.03
5.5.00.0030.04020.05
5.4.450.0030.07019.14
5.4.440.0070.03719.44
5.4.430.0030.08719.46
5.4.420.0070.08019.27
5.4.410.0130.06719.00
5.4.400.0070.05319.02
5.4.390.0070.07719.07
5.4.380.0100.06719.12
5.4.370.0070.07019.14
5.4.360.0100.05719.05
5.4.350.0100.05318.91
5.4.340.0030.07018.95
5.4.320.0030.03718.96
5.4.310.0100.03319.13
5.4.300.0130.07319.08
5.4.290.0030.06718.80
5.4.280.0030.03318.94
5.4.270.0030.07718.89
5.4.260.0070.06719.07
5.4.250.0070.04719.22
5.4.240.0070.06019.05
5.4.230.0000.05718.94
5.4.220.0030.04718.81
5.4.210.0000.05319.22
5.4.200.0000.04019.14
5.4.190.0130.02319.05
5.4.180.0030.03719.11
5.4.170.0070.03018.97
5.4.160.0070.03319.00
5.4.150.0000.04019.00
5.4.140.0000.04016.33
5.4.130.0100.03016.40
5.4.120.0030.03716.32
5.4.110.0000.03316.36
5.4.100.0100.02716.23
5.4.90.0000.04016.50
5.4.80.0000.03716.45
5.4.70.0100.02316.53
5.4.60.0000.03716.18
5.4.50.0000.03716.23
5.4.40.0030.03716.45
5.4.30.0070.03316.19
5.4.20.0030.04716.38
5.4.10.0070.05716.41
5.4.00.0030.04715.81