3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print rand(); ?>

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.00.0000.01819.43
7.1.70.0000.00717.13
7.1.60.0040.02119.43
7.1.50.0070.01416.76
7.1.00.0030.03322.40
7.0.200.0120.00316.57
7.0.140.0030.07322.11
7.0.60.0170.07319.90
7.0.50.0170.05317.91
7.0.40.0100.08020.30
7.0.30.0200.03720.30
7.0.20.0270.08020.18
7.0.10.0330.08020.17
7.0.00.0070.05020.19
5.6.280.0030.07021.03
5.6.210.0070.08020.62
5.6.200.0100.08718.22
5.6.190.0070.04320.27
5.6.180.0170.09020.41
5.6.170.0200.08720.44
5.6.160.0030.04320.46
5.6.150.0030.05018.15
5.6.140.0130.07318.18
5.6.130.0070.05318.12
5.6.120.0070.08320.98
5.6.110.0070.05321.12
5.6.100.0030.09020.98
5.6.90.0070.07020.97
5.6.80.0070.08020.36
5.6.70.0270.06020.49
5.5.350.0070.08320.38
5.5.340.0070.07317.89
5.5.330.0130.04320.16
5.5.320.0200.04720.31
5.5.310.0270.06020.46
5.5.300.0130.07317.87
5.5.290.0030.08317.92
5.5.280.0000.04320.97
5.5.270.0130.06320.75
5.5.260.0200.06020.75
5.5.250.0170.07020.58
5.5.240.0100.08020.34
5.4.450.0370.06719.41
5.4.440.0230.08319.13
5.4.430.0170.07319.58
5.4.420.0230.07319.41
5.4.410.0270.06719.29
5.4.400.0200.04718.93
5.4.390.0370.05719.03
5.4.380.0200.07719.13
5.4.370.0270.07018.92
5.4.360.0370.04019.22
5.4.350.0200.07319.24
5.4.340.0300.06019.13
5.4.320.0330.04319.16
5.4.310.0330.06018.83
5.4.300.0170.05019.06
5.4.290.0230.08019.13
5.4.280.0230.03719.25
5.4.270.0300.06018.80
5.4.260.0170.04018.91
5.4.250.0200.04018.92
5.4.240.0230.04319.08
5.4.230.0300.06318.80
5.4.220.0270.08018.80
5.4.210.0200.04019.04
5.4.200.0300.07019.07
5.4.190.0270.07319.23
5.4.180.0270.06719.09
5.4.170.0300.06718.79
5.4.160.0270.07319.07
5.4.150.0300.07019.07
5.4.140.0230.07716.55
5.4.130.0170.04016.22
5.4.120.0230.06316.35
5.4.110.0270.07316.21
5.4.100.0300.04016.42
5.4.90.0270.06016.11
5.4.80.0230.07016.39
5.4.70.0330.06316.37
5.4.60.0200.07716.38
5.4.50.0270.06316.20
5.4.40.0300.06316.38
5.4.30.0230.06716.36
5.4.20.0230.05016.30
5.4.10.0300.06716.36
5.4.00.0300.06315.82
5.3.290.0130.04314.75
5.3.280.0300.06314.43
5.3.270.0270.07714.65
5.3.260.0230.07014.46
5.3.250.0270.04714.65
5.3.240.0200.04014.50
5.3.230.0230.03314.54
5.3.220.0370.06314.59
5.3.210.0270.07014.54
5.3.200.0230.07014.61
5.3.190.0330.06314.41
5.3.180.0270.04714.61
5.3.170.0230.04714.42
5.3.160.0370.03014.61
5.3.150.0270.06714.41
5.3.140.0230.06314.50
5.3.130.0370.06314.63
5.3.120.0230.05014.48
5.3.110.0230.07714.40
5.3.100.0270.06714.12
5.3.90.0270.05013.86
5.3.80.0200.04713.85
5.3.70.0330.06713.84
5.3.60.0270.07013.84
5.3.50.0230.05313.82
5.3.40.0170.05013.78
5.3.30.0300.07013.75
5.3.20.0330.06313.53
5.3.10.0300.06313.68
5.3.00.0270.05713.54
5.2.170.0130.06713.50
5.2.160.0200.05013.50
5.2.150.0130.04713.50
5.2.140.0270.06013.50
5.2.130.0230.06013.50
5.2.120.0170.04013.50
5.2.110.0230.05313.50
5.2.100.0170.05713.50
5.2.90.0230.06013.50
5.2.80.0270.05313.50
5.2.70.0170.03713.50
5.2.60.0300.02313.50
5.2.50.0170.06013.50
5.2.40.0270.04313.50
5.2.30.0130.04313.50
5.2.20.0200.05713.50
5.2.10.0230.05713.50
5.2.00.0200.06013.50
5.1.60.0070.06013.50
5.1.50.0230.04713.50
5.1.40.0200.04713.50
5.1.30.0200.02713.50
5.1.20.0200.03313.50
5.1.10.0170.05013.50
5.1.00.0100.03313.50
5.0.50.0100.03013.50
5.0.40.0100.04313.50
5.0.30.0130.03313.50
5.0.20.0030.02313.50
5.0.10.0100.04713.50
5.0.00.0100.06313.50
4.4.90.0070.03013.50
4.4.80.0030.01713.50
4.4.70.0070.03713.50
4.4.60.0100.03013.50
4.4.50.0130.03013.50
4.4.40.0100.05013.50
4.4.30.0130.01313.50
4.4.20.0100.03313.50
4.4.10.0070.01713.50
4.4.00.0100.05313.50
4.3.110.0170.03013.50
4.3.100.0070.02013.50
4.3.90.0100.03013.50
4.3.80.0200.02713.50
4.3.70.0070.03713.50
4.3.60.0070.03013.50
4.3.50.0130.03313.50
4.3.40.0230.04013.50
4.3.30.0070.02013.50
4.3.20.0070.03313.50
4.3.10.0070.02313.50
4.3.00.0030.02013.50