3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo random_bytes(10);
based on 3pnZX

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.0090.00616.70
7.3.00.0090.00316.56
7.2.130.0070.01016.88
7.2.120.0090.00316.84
7.2.110.0060.00616.87
7.2.100.0330.00515.59
7.2.90.0450.00715.58
7.2.80.0140.00815.65
7.2.70.0370.00715.78
7.2.60.0260.00715.94
7.2.50.0370.00715.62
7.2.40.0840.00315.80
7.2.30.0070.01015.78
7.2.20.0060.01015.92
7.2.10.0070.01015.85
7.2.00.0120.01017.03
7.1.250.0000.01615.65
7.1.220.0520.01013.86
7.1.210.0050.01313.66
7.1.200.0030.01214.72
7.1.190.0190.00313.70
7.1.180.1210.01213.33
7.1.170.0990.01013.77
7.1.160.0380.00913.90
7.1.150.0100.00613.59
7.1.140.0680.00713.82
7.1.130.0130.00613.70
7.1.120.0290.00313.49
7.1.110.0160.00013.85
7.1.100.0080.01015.86
7.1.90.0220.00613.70
7.1.80.0550.00613.79
7.1.70.0370.00615.38
7.1.60.0700.01225.60
7.1.50.0290.01124.27
7.1.40.1740.01431.65
7.1.30.0220.01431.67
7.1.20.0200.01731.64
7.1.10.0640.00313.54
7.1.00.0080.04417.98
7.0.310.0880.00713.39
7.0.300.0260.00413.12
7.0.290.0540.00413.39
7.0.280.0120.00513.44
7.0.270.0450.00613.50
7.0.260.0420.00313.05
7.0.250.0250.00713.09
7.0.240.0240.00313.23
7.0.230.0410.00313.51
7.0.220.1270.00613.09
7.0.210.1180.00013.25
7.0.200.0300.00314.88
7.0.190.0360.00013.61
7.0.180.0840.00013.45
7.0.170.1590.00313.20
7.0.160.0190.00613.41
7.0.150.1930.00013.56
7.0.140.1330.00313.27
7.0.130.0380.00713.18
7.0.120.0280.00813.23
7.0.110.0750.01013.40
7.0.100.0190.03116.68
7.0.90.0820.04216.73
7.0.80.0350.02316.52
7.0.70.0160.03516.63
7.0.60.0230.04416.56
7.0.50.0130.02716.87
7.0.40.0240.04216.56
7.0.30.0070.04516.57
7.0.20.0140.03616.79
7.0.10.0070.04416.64
7.0.00.0120.03816.69
hhvm-3.22.00.1300.16790.14
hhvm-3.21.30.1280.16090.36
hhvm-3.21.00.1110.17689.18
hhvm-3.20.20.1080.18889.77
hhvm-3.19.20.1030.16088.72
hhvm-3.18.50.1060.16587.56
hhvm-3.18.40.1010.15088.43
hhvm-3.17.30.0930.14987.15
hhvm-3.15.40.1190.15384.88
hhvm-3.13.20.0690.16696.51
hhvm-3.12.140.1080.19094.96
hhvm-3.11.10.0610.16987.04
hhvm-3.10.10.0920.14984.67
5.6.380.0000.01413.90
5.6.370.0200.00314.10
5.6.360.0050.01014.04
5.6.350.0100.01013.92
5.6.340.0110.00914.05
5.6.330.0120.01114.28
5.6.320.0170.00013.92
5.6.310.0150.00514.16
5.6.300.0150.00014.14
5.6.290.0000.01814.26
5.6.280.0110.01917.60
5.6.270.0080.00813.91
5.6.260.0110.00414.20
5.6.250.0160.03117.33
5.6.240.0100.04217.35
5.6.230.0110.04217.40
5.6.220.0080.04217.30
5.6.210.0120.03417.21
5.6.200.0100.03717.41
5.6.190.0070.04517.39
5.6.180.0080.03317.45
5.6.170.0110.02317.45
5.6.160.0080.04017.31
5.6.150.0040.03317.51
5.6.140.0070.03617.40
5.6.130.0110.02617.56
5.6.120.0040.03217.51
5.6.110.0080.02517.47
5.6.100.0150.02017.49
5.6.90.0090.02717.41
5.6.80.0060.04517.15
5.6.70.0050.03717.18
5.6.60.0080.02417.16
5.6.50.0110.03917.24
5.6.40.0100.03817.05
5.6.30.0100.04017.17
5.6.20.0110.03117.04
5.6.10.0050.04217.23
5.6.00.0070.04217.00
5.5.380.0070.03515.64
5.5.370.0060.04715.55
5.5.360.0070.04015.71
5.5.350.0080.04215.61
5.5.340.0130.03815.72
5.5.330.0060.03815.71
5.5.320.0070.04315.78
5.5.310.0050.02215.80
5.5.300.0050.02515.80
5.5.290.0030.03115.88
5.5.280.0060.03015.79
5.5.270.0060.04315.70
5.5.260.0080.04315.85
5.5.250.0060.04115.75
5.5.240.0050.04415.28
5.5.230.0050.04115.59
5.5.220.0130.03515.51
5.5.210.0010.03915.51
5.5.200.0050.03315.52
5.5.190.0130.03615.55
5.5.180.0140.02515.53
5.5.170.0120.00013.89
5.5.160.0080.03515.51
5.5.150.0100.03615.45
5.5.140.0070.04015.30
5.5.130.0070.03015.35
5.5.120.0060.02215.48
5.5.110.0070.04315.56
5.5.100.0080.03815.39
5.5.90.0050.04215.32
5.5.80.0050.04215.18
5.5.70.0020.02715.36
5.5.60.0090.03515.24
5.5.50.0060.03315.32
5.5.40.0110.04015.32
5.5.30.0090.02415.33
5.5.20.0100.03715.43
5.5.10.0050.03415.39
5.5.00.0070.03815.39