3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Core { function Core() { if ($_GET['hi']) { // exit('hi'); } } function __destruct() { run(); } } function run() { global $core; if (is_object($core)) { phpinfo(); } else { var_dump($core); echo 'fuck'; } } $_GET['hi'] = 1; $core = new Core;

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).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0110.00718.30
8.3.50.0180.00316.36
8.3.40.0180.00318.92
8.3.30.0110.00719.21
8.3.20.0040.00420.29
8.3.10.0030.00623.61
8.3.00.0060.00319.26
8.2.180.0120.00316.50
8.2.170.0140.01122.96
8.2.160.0130.00320.35
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0070.00022.29
8.2.110.0000.01022.25
8.2.100.0040.00717.97
8.2.90.0040.00717.75
8.2.80.0090.00018.05
8.2.70.0080.00018.16
8.2.60.0050.00317.68
8.2.50.0040.00418.10
8.2.40.0000.00820.51
8.2.30.0000.00717.95
8.2.20.0040.00417.75
8.2.10.0040.00418.00
8.2.00.0020.00517.62
8.1.270.0060.00323.97
8.1.260.0080.00026.35
8.1.250.0030.00328.09
8.1.240.0030.00622.17
8.1.230.0060.00619.01
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0000.00818.57
8.1.160.0040.00421.97
8.1.150.0080.00018.81
8.1.140.0040.00417.39
8.1.130.0000.00717.84
8.1.120.0040.00417.48
8.1.110.0000.00717.38
8.1.100.0000.00717.47
8.1.90.0080.00017.37
8.1.80.0070.00017.45
8.1.70.0000.00817.41
8.1.60.0000.00817.51
8.1.50.0090.00017.49
8.1.40.0030.00517.52
8.1.30.0000.00817.57
8.1.20.0050.00217.55
8.1.10.0070.00017.62
8.1.00.0040.00417.56
8.0.300.0040.00419.68
8.0.290.0070.00316.75
8.0.280.0000.00718.50
8.0.270.0040.00417.25
8.0.260.0000.00617.31
8.0.250.0030.00316.88
8.0.240.0000.00616.86
8.0.230.0000.00716.79
8.0.220.0000.00716.92
8.0.210.0040.00416.85
8.0.200.0000.00716.84
8.0.190.0070.00316.84
8.0.180.0040.00416.82
8.0.170.0060.00316.93
8.0.160.0070.00016.92
8.0.150.0040.00416.81
8.0.140.0020.00516.76
8.0.130.0000.00513.29
8.0.120.0000.00816.91
8.0.110.0040.00416.79
8.0.100.0000.00716.81
8.0.90.0070.00016.80
8.0.80.0040.01216.97
8.0.70.0090.00016.85
8.0.60.0020.00516.73
8.0.50.0040.00416.81
8.0.30.0110.00917.12
8.0.20.0110.00817.40
8.0.10.0000.00716.96
8.0.00.0090.00916.73
7.4.330.0020.00215.04
7.4.320.0040.00416.66
7.4.300.0060.00016.65
7.4.290.0030.00316.63
7.4.280.0070.00016.65
7.4.270.0000.00716.60
7.4.260.0000.00816.55
7.4.250.0000.00716.56
7.4.240.0030.00316.65
7.4.230.0030.00316.41
7.4.220.0070.01016.63
7.4.210.0070.00716.61
7.4.200.0030.00316.50
7.4.160.0180.00616.58
7.4.150.0130.00317.40
7.4.140.0110.00717.86
7.4.130.0080.01316.50
7.4.120.0100.01016.52
7.4.110.0030.01316.37
7.4.100.0140.00316.44
7.4.90.0150.00716.45
7.4.80.0060.01019.39
7.4.70.0030.01616.65
7.4.60.0030.01316.61
7.4.50.0000.00516.64
7.4.40.0070.01016.28
7.4.30.0130.00316.63
7.4.00.0060.00914.94
7.3.330.0050.00213.44
7.3.320.0000.00513.43
7.3.310.0030.00316.46
7.3.300.0040.00416.48
7.3.290.0030.01316.45
7.3.280.0110.00716.45
7.3.270.0080.00817.40
7.3.260.0100.00616.60
7.3.250.0090.00816.52
7.3.240.0110.00516.54
7.3.230.0110.00716.39
7.3.210.0080.01116.41
7.3.200.0120.00919.39
7.3.190.0060.01316.46
7.3.180.0100.01016.35
7.3.170.0120.00916.44
7.3.160.0090.00916.36
7.2.330.0120.00616.88
7.2.320.0070.01016.51
7.2.310.0140.00316.59
7.2.300.0090.00916.59
7.2.290.0070.01116.63
7.2.60.0090.00616.87
7.2.00.0030.01019.30
7.1.200.0000.01215.89
7.1.100.0030.01018.36
7.1.70.0070.00717.18
7.1.60.0180.00719.11
7.1.50.0040.01417.00
7.1.00.0030.07722.54
7.0.200.0030.00616.95
7.0.140.0030.07321.97
7.0.100.0030.04719.96
7.0.90.0230.07719.88
7.0.80.0130.04719.89
7.0.70.0100.08319.91
7.0.60.0230.04719.94
7.0.50.0130.06320.41
7.0.40.0070.07720.11
7.0.30.0070.07020.09
7.0.20.0170.04720.10
7.0.10.0100.09020.12
7.0.00.0130.03720.04
5.6.280.0030.07321.08
5.6.250.0030.08020.60
5.6.240.0070.08020.53
5.6.230.0130.06020.71
5.6.220.0200.08020.67
5.6.210.0130.08320.75
5.6.200.0070.08721.05
5.6.190.0030.08321.08
5.6.180.0200.07721.18
5.6.170.0070.05021.09
5.6.160.0130.07321.01
5.6.150.0130.04320.97
5.6.140.0130.07020.96
5.6.130.0100.05021.02
5.6.120.0170.06721.07
5.6.110.0130.08321.04
5.6.100.0070.07021.07
5.6.90.0130.05320.95
5.6.80.0170.07320.40
5.6.70.0130.07020.45
5.6.60.0130.07720.40
5.6.50.0100.08020.33
5.6.40.0070.07720.47
5.6.30.0100.06020.39
5.6.20.0100.06720.36
5.6.10.0030.08720.44
5.6.00.0070.08020.29
5.5.380.0070.08320.35
5.5.370.0070.07720.36
5.5.360.0130.06720.34
5.5.350.0130.07720.34
5.5.340.0170.06320.64
5.5.330.0070.08020.89
5.5.320.0070.08320.94
5.5.310.0070.08020.84
5.5.300.0070.08320.77
5.5.290.0070.08720.91
5.5.280.0170.07320.73
5.5.270.0100.05020.78
5.5.260.0100.08020.91
5.5.250.0100.07320.61
5.5.240.0030.07320.25
5.5.230.0200.03320.25
5.5.220.0070.07720.28
5.5.210.0070.05720.03
5.5.200.0100.07320.14
5.5.190.0000.06020.13
5.5.180.0130.06720.00
5.5.160.0130.04720.21
5.5.150.0070.07320.17
5.5.140.0100.07720.18
5.5.130.0070.08320.21
5.5.120.0030.08020.25
5.5.110.0100.07320.14
5.5.100.0100.08020.14
5.5.90.0030.07720.16
5.5.80.0130.07020.10
5.5.70.0100.07720.00
5.5.60.0030.06720.15
5.5.50.0030.07019.94
5.5.40.0030.07720.16
5.5.30.0100.07320.09
5.5.20.0070.04720.16
5.5.10.0130.09320.10
5.5.00.0100.08019.97
5.4.450.0130.07719.46
5.4.440.0100.07719.23
5.4.430.0130.07319.57
5.4.420.0100.07319.50
5.4.410.0000.04019.38
5.4.400.0070.08318.95
5.4.390.0070.07319.05
5.4.380.0100.07718.91
5.4.370.0070.04719.05
5.4.360.0130.07019.14
5.4.350.0100.06719.21
5.4.340.0030.05019.05
5.4.320.0030.07019.16
5.4.310.0070.06719.09
5.4.300.0100.06019.18
5.4.290.0100.07719.14
5.4.280.0000.04319.18
5.4.270.0070.04319.13
5.4.260.0030.05018.95
5.4.250.0200.04719.23
5.4.240.0070.08018.94
5.4.230.0100.05719.04
5.4.220.0130.07019.04
5.4.210.0130.07718.96
5.4.200.0070.07019.16
5.4.190.0030.05018.86
5.4.180.0030.07719.03
5.4.170.0070.08019.04
5.4.160.0030.08019.03
5.4.150.0130.07319.11
5.4.140.0170.04716.39
5.4.130.0030.06716.49
5.4.120.0130.06316.46
5.4.110.0130.03716.49
5.4.100.0130.06316.44
5.4.90.0000.05016.41
5.4.80.0070.07316.52
5.4.70.0070.05316.43
5.4.60.0130.06016.44
5.4.50.0070.06316.41
5.4.40.0170.06316.51
5.4.30.0030.07716.24
5.4.20.0200.03716.43
5.4.10.0070.07016.46
5.4.00.0100.06715.79

preferences:
56.3 ms | 400 KiB | 5 Q