3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php random_bytes();
based on 9a8iR

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.2.60.0130.00016.73
7.2.00.0040.00819.35
7.1.200.0080.00615.55
7.1.100.0040.00717.93
7.1.70.0030.00717.05
7.1.60.0030.02019.52
7.1.50.0100.01316.87
7.1.00.0030.07722.37
7.0.200.0000.00716.84
7.0.60.0100.06719.77
7.0.50.0030.08017.84
7.0.40.0030.09320.30
7.0.30.0330.07320.16
7.0.20.0270.06320.18
7.0.10.0130.08320.33
7.0.00.0000.04319.99
5.6.280.0030.06721.11
5.6.210.0030.04020.66
5.6.200.0030.04318.15
5.6.190.0070.07720.56
5.6.180.0330.07020.61
5.6.170.0230.08720.52
5.6.160.0100.03720.61
5.6.150.0100.07018.17
5.6.140.0130.07318.20
5.6.130.0130.07718.22
5.6.120.0170.07321.13
5.6.110.0030.08720.98
5.6.100.0030.08321.04
5.6.90.0030.04020.97
5.6.80.0000.04320.43
5.5.350.4130.04320.39
5.5.340.0000.04317.98
5.5.330.0030.07320.40
5.5.320.0230.06720.17
5.5.310.0230.08020.32
5.5.300.0030.08018.00
5.5.290.0100.07717.98
5.5.280.0130.07320.97
5.5.270.0130.07720.78
5.5.260.0030.07720.67
5.5.250.0030.08720.68
5.5.240.3070.03320.25
5.4.450.0330.07719.28
5.4.440.0630.04719.52
5.4.430.0200.05319.23
5.4.420.0200.05319.57
5.4.410.0230.05019.31
5.4.400.0170.05318.98
5.4.390.0230.05019.16
5.4.380.0170.05319.25
5.4.370.0070.07319.20
5.4.360.0130.05719.08
5.4.350.0170.05319.16
5.4.340.0270.04719.20
5.4.320.0200.05319.10
5.4.310.0130.06019.09
5.4.300.0270.04319.43
5.4.290.0130.05319.09
5.4.280.0170.05318.91
5.4.270.0200.04718.91
5.4.260.0270.04019.29
5.4.250.0270.04319.26
5.4.240.0130.05319.24
5.4.230.0270.04018.98
5.4.220.0400.06018.77
5.4.210.0430.05719.09
5.4.200.0430.05318.90
5.4.190.0270.05719.19
5.4.180.0570.05019.08
5.4.170.0470.04719.16
5.4.160.0100.05719.12
5.4.150.0100.06719.28
5.4.140.0170.05316.22
5.4.130.0230.04316.38
5.4.120.0070.06016.45
5.4.110.0100.05716.19
5.4.100.0370.06316.05
5.3.290.0200.05314.75
5.3.280.0100.05014.43
5.3.270.0570.05014.69
5.3.260.0430.03014.55
5.3.250.0070.06014.45
5.3.240.0130.05314.43
5.3.230.0170.05314.62
5.3.220.0170.05314.46
5.3.210.0170.05314.54
5.3.200.0300.04314.35