3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class wpdb { function bail() { wp_die(); } } function wp_die() { var_dump(debug_backtrace(0, 3)); die('x'); } $a = new wpdb(); $a->bail();
based on QOBSi

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.0060.01016.52
7.3.00.0040.01116.68
7.2.130.0000.01416.61
7.2.120.0000.01216.74
7.2.110.0030.01016.84
7.2.100.0030.00816.63
7.2.90.0070.00716.90
7.2.80.0040.00416.93
7.2.70.0060.00616.95
7.2.60.0080.00416.86
7.2.50.0070.00716.89
7.2.40.0060.00916.95
7.2.30.0040.01116.83
7.2.20.0070.00417.04
7.2.10.0040.00816.88
7.2.00.0070.00517.93
7.1.250.0050.00515.88
7.1.200.0090.00615.59
7.1.100.0030.00917.99
7.1.70.0000.01417.09
7.1.60.0100.01319.50
7.1.50.0180.00916.86
7.1.00.0070.07322.57
7.0.200.0220.00714.68
7.0.140.0000.04722.10
7.0.60.0130.03720.06
7.0.50.0070.08017.88
7.0.40.0170.08020.14
7.0.30.0370.08020.23
7.0.20.0300.07320.21
7.0.10.0200.06320.25
7.0.00.0030.07020.30
5.6.280.0030.07321.11
5.6.210.0100.08320.78
5.6.200.0070.05718.21
5.6.190.0070.04020.47
5.6.180.0400.06320.43
5.6.170.0330.05020.52
5.6.160.0030.05020.44
5.6.150.0070.04018.15
5.6.140.0070.04718.14
5.6.130.0130.07318.11
5.6.120.0070.04321.01
5.6.110.0070.07020.97
5.6.100.0100.08021.11
5.6.90.0130.08321.11
5.6.80.0170.03320.54
5.5.350.0270.06320.42
5.5.340.0000.07317.97
5.5.330.0070.08320.40
5.5.320.0100.08020.38
5.5.310.0270.08320.23
5.5.300.0200.03017.94
5.5.290.0070.05717.93
5.5.280.0130.07720.80
5.5.270.0100.05020.77
5.5.260.0070.09020.96
5.5.250.0030.08720.66
5.5.240.0100.06720.24
5.4.450.0500.04019.48
5.4.440.0800.05319.55
5.4.430.0730.07719.44
5.4.420.1100.06719.43
5.4.410.0100.06018.96
5.4.400.0370.05718.51
5.4.390.0470.05318.77
5.4.380.0530.05718.73
5.4.370.0400.06318.79
5.4.360.0130.06318.63
5.4.350.0430.05718.53
5.4.340.0470.05018.47
5.4.320.0470.06718.75
5.4.310.0370.05718.63
5.4.300.0370.06318.78
5.4.290.0330.05318.72
5.4.280.0400.06718.62
5.4.270.0330.06018.73
5.4.260.0500.04318.85
5.4.250.0530.06018.74
5.4.240.0370.05718.62
5.4.230.0330.06318.74
5.4.220.0430.06718.57
5.4.210.0300.06718.68
5.4.200.0270.06016.80
5.4.190.0370.05318.50
5.4.180.0570.04318.55
5.4.170.0270.07718.71
5.4.160.0330.06318.68
5.4.150.0430.04718.60
5.4.140.0530.06016.46
5.4.130.0430.04716.45
5.4.120.0270.05716.48
5.4.110.0300.04316.43
5.4.100.0300.05716.19
5.4.90.0400.07016.35
5.4.80.0500.06316.27
5.4.70.0300.06316.14
5.4.60.0330.05316.27
5.4.50.0430.07016.42
5.4.40.0500.07716.39
5.4.30.0470.06716.23
5.4.20.0370.06016.30
5.4.10.0530.04716.27
5.4.00.0300.05315.67
5.3.290.0370.07314.87
5.3.280.0270.06014.72
5.3.270.0430.06714.64
5.3.260.0400.06714.77
5.3.250.0430.06714.77
5.3.240.0600.06314.66
5.3.230.0600.04314.80
5.3.220.0400.06714.58
5.3.210.0730.05014.59
5.3.200.0400.08314.67
5.3.190.0730.05714.63
5.3.180.0570.05714.58
5.3.170.0430.05314.56
5.3.160.0570.04714.70
5.3.150.0300.05714.62
5.3.140.0430.05014.69
5.3.130.0600.05014.65
5.3.120.0470.06314.66
5.3.110.0470.06014.57
5.3.100.0370.06314.07
5.3.90.0470.05314.12
5.3.80.0430.06714.02
5.3.70.0470.07014.05
5.3.60.0430.06314.03
5.3.50.0500.05014.18
5.3.40.0570.05014.16
5.3.30.0570.05013.93
5.3.20.0570.05313.86
5.3.10.0330.05713.76
5.3.00.0400.07313.63
5.2.170.0300.07011.28
5.2.160.0530.03311.26
5.2.150.0330.05011.27
5.2.140.0400.06011.25
5.2.130.0230.06711.09
5.2.120.0270.05011.11
5.2.110.0400.05711.14
5.2.100.0400.05311.14
5.2.90.0470.05011.13
5.2.80.0530.04011.09
5.2.70.0500.05311.15
5.2.60.0270.04011.11
5.2.50.0230.04711.02
5.2.40.0170.05011.12
5.2.30.0270.04711.07
5.2.20.0370.05010.99
5.2.10.0200.05311.07
5.2.00.0270.05710.85
5.1.60.0170.05310.13
5.1.50.0370.03710.07
5.1.40.0230.05310.00
5.1.30.0300.05010.32
5.1.20.0370.03710.35
5.1.10.0300.03710.18
5.1.00.0500.04010.20
5.0.50.0270.0308.59
5.0.40.0200.0378.51
5.0.30.0130.0608.37
5.0.20.0200.0338.23
5.0.10.0170.0438.30
5.0.00.0200.0508.17
4.4.90.0230.0236.81
4.4.80.0130.0176.81
4.4.70.0070.0276.81
4.4.60.0130.0206.81
4.4.50.0230.0206.81
4.4.40.0070.0406.81
4.4.30.0170.0236.81
4.4.20.0130.0276.81
4.4.10.0070.0276.81
4.4.00.0070.0406.81
4.3.110.0130.0236.81
4.3.100.0200.0276.81
4.3.90.0070.0276.81
4.3.80.0100.0376.81
4.3.70.0070.0276.81
4.3.60.0130.0236.81
4.3.50.0070.0276.81
4.3.40.0200.0406.81
4.3.30.0100.0236.81
4.3.20.0170.0236.81
4.3.10.0070.0276.81
4.3.00.0130.0176.80