3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php clone new \mysqli_driver;
based on GkOPZ

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.0110.01316.21
7.3.00.0130.01316.37
7.2.130.0060.00316.36
7.2.120.0080.00816.34
7.2.110.0120.01216.52
7.2.100.0140.01516.80
7.2.90.0070.00716.13
7.2.80.0220.00616.38
7.2.70.0100.01416.55
7.2.60.0080.00816.59
7.2.50.0090.01316.65
7.2.40.0210.00816.75
7.2.30.0160.00616.30
7.2.20.0160.01316.63
7.2.10.0160.00916.16
7.2.00.0110.00617.95
7.1.250.0200.00014.98
7.1.200.0070.00715.38
7.1.100.0090.00917.72
7.1.70.0070.00717.02
7.1.60.0130.01319.18
7.1.50.0030.01316.53
7.1.00.0000.07722.26
7.0.200.0000.01016.60
7.0.60.0200.06719.77
7.0.50.0030.04017.88
7.0.40.0100.07320.40
7.0.30.0270.07320.18
7.0.20.0230.04320.21
7.0.10.0070.07720.02
7.0.00.0100.08720.16
5.6.280.0070.06720.81
5.6.210.0130.07320.47
5.6.200.0030.04718.12
5.6.190.0000.05020.46
5.6.180.0270.04720.39
5.6.170.0230.05020.42
5.6.160.0130.05020.45
5.6.150.0100.07718.21
5.6.140.0070.03718.11
5.6.130.0030.05318.10
5.6.120.0130.07020.97
5.6.110.0030.04321.00
5.6.100.0170.05020.96
5.6.90.0070.08021.01
5.6.80.0070.07720.40
5.5.350.0200.07320.40
5.5.340.0070.07318.02
5.5.330.0000.08720.29
5.5.320.0400.05320.29
5.5.310.0270.07020.30
5.5.300.0100.07718.01
5.5.290.0130.07317.98
5.5.280.0130.08020.73
5.5.270.0170.06720.65
5.5.260.0100.08020.76
5.5.250.0000.04320.68
5.5.240.0070.07320.22
5.4.450.0500.06319.13
5.4.440.0270.09019.41
5.4.430.0470.05719.56
5.4.420.0930.06719.43
5.4.410.1070.06719.35
5.4.400.1230.06018.81
5.4.390.0730.06319.09
5.4.380.0670.07718.95
5.4.370.0700.06319.14
5.4.360.0470.06318.95
5.4.350.0570.06018.80
5.4.340.0300.06318.91
5.4.320.0270.06018.95
5.4.310.0600.05319.25
5.4.300.0500.05718.77
5.4.290.0630.06319.16
5.4.280.0030.06719.20
5.4.270.0600.05719.12
5.4.260.0230.05318.77
5.4.250.0070.06718.99
5.4.240.0130.06319.31
5.4.230.0530.06719.15
5.4.220.0770.05719.30
5.4.210.0570.05318.85
5.4.200.0830.05016.61
5.4.190.0700.05718.91
5.4.180.0530.05019.07
5.4.170.0630.05718.96
5.4.160.0900.06318.96
5.4.150.0900.04718.95
5.4.140.0770.06716.44
5.4.130.0300.07016.39
5.4.120.0830.06316.37
5.4.110.0630.06716.21
5.4.100.0600.07316.32
5.4.90.0700.05016.48
5.4.80.0600.06016.25
5.4.70.0200.06716.18
5.4.60.0400.07316.15
5.4.50.1030.04316.34
5.4.40.0630.05716.41
5.4.30.0730.06016.39
5.4.20.0370.06016.35
5.4.10.0800.07716.24
5.4.00.0830.06715.72
5.3.290.0830.06714.56
5.3.280.0700.06314.44
5.3.270.0100.06014.50
5.3.260.0500.06314.52
5.3.250.0470.06014.54
5.3.240.0770.06314.52
5.3.230.0670.06014.61
5.3.220.0600.05714.50
5.3.210.0570.05014.61
5.3.200.0870.03714.46
5.3.190.0830.05314.41
5.3.180.0370.05014.48
5.3.170.0230.05714.46
5.3.160.1170.06314.46
5.3.150.0700.04714.50
5.3.140.0370.06314.60
5.3.130.0630.06314.62
5.3.120.0400.05314.59
5.3.110.0670.05714.45
5.3.100.1000.05314.08
5.3.90.0600.06314.03
5.3.80.0470.05314.02
5.3.70.0630.05014.06
5.3.60.0400.05313.90
5.3.50.0370.06313.80
5.3.40.0170.05013.96
5.3.30.0900.05313.98
5.3.20.0830.06013.60
5.3.10.1000.04713.55
5.3.00.0470.06013.68
5.2.170.0300.05311.14
5.2.160.0670.04711.30
5.2.150.0070.04710.98
5.2.140.0230.06310.98
5.2.130.0430.05310.95
5.2.120.0130.05310.94
5.2.110.0870.04711.17
5.2.100.0800.04711.14
5.2.90.0770.04311.25
5.2.80.0170.06010.88
5.2.70.0430.05010.94
5.2.60.0800.05310.98
5.2.50.0630.06010.84
5.2.40.0570.05010.83
5.2.30.0430.05710.95
5.2.20.0470.03710.95
5.2.10.0130.03310.71
5.2.00.0500.04710.65
5.1.60.0130.03310.07
5.1.50.0300.0339.92
5.1.40.0000.0539.83
5.1.30.0200.04010.38
5.1.20.0530.03710.25
5.1.10.0300.04310.07
5.1.00.0430.0379.93
5.0.50.0300.0409.21
5.0.40.0370.0339.21
5.0.30.0200.0479.21
5.0.20.0270.0309.21
5.0.10.0300.0379.21
5.0.00.0130.0479.21
4.4.90.0470.0339.21
4.4.80.0200.0239.21
4.4.70.0200.0209.21
4.4.60.0370.0309.21
4.4.50.0270.0309.21
4.4.40.0000.0509.21
4.4.30.0000.0409.21
4.4.20.0070.0309.21
4.4.10.0500.0309.21
4.4.00.0100.0409.21
4.3.110.0230.0209.21
4.3.100.0170.0239.21
4.3.90.0030.0239.21
4.3.80.0230.0479.21
4.3.70.0300.0209.21
4.3.60.0200.0239.21
4.3.50.0030.0239.21
4.3.40.0070.0409.21
4.3.30.0070.0279.21
4.3.20.0200.0239.21
4.3.10.0100.0239.21
4.3.00.0130.0277.18