3v4l.org

run code in 300+ PHP versions simultaneously
<?php spl_autoload_register(function() { eval('class Foo {'); // syntax error }); spl_autoload_register(function() { throw new Exception(); }); try { new Widget(); } catch (Throwable $t) { for ($i = 1; $t; $t = $t->getPrevious()) { printf("#%d %s: %s in %s:%d\n", $i++, get_class($t), $t->getMessage(), $t->getFile(), $t->getLine()); } }

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.00416.72
8.3.50.0120.00616.37
8.3.40.0040.01119.01
8.3.30.0110.00419.15
8.3.20.0000.00820.30
8.3.10.0080.00023.90
8.3.00.0050.00323.51
8.2.180.0220.00018.41
8.2.170.0090.00622.96
8.2.160.0100.00319.29
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.00622.43
8.2.120.0030.00626.35
8.2.110.0100.00019.33
8.2.100.0090.00317.97
8.2.90.0000.00819.14
8.2.80.0030.00617.97
8.2.70.0040.00417.62
8.2.60.0000.00817.93
8.2.50.0040.00418.10
8.2.40.0000.00720.42
8.2.30.0030.00519.33
8.2.20.0040.00417.96
8.2.10.0040.00418.09
8.2.00.0040.00418.39
8.1.280.0100.00725.92
8.1.270.0040.00423.68
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0050.00519.27
8.1.230.0090.00317.42
8.1.220.0030.00517.74
8.1.210.0090.00318.77
8.1.200.0030.00617.35
8.1.190.0000.00817.36
8.1.180.0050.00318.10
8.1.170.0080.00020.44
8.1.160.0030.00318.79
8.1.150.0080.00020.16
8.1.140.0000.00719.61
8.1.130.0000.00818.92
8.1.120.0000.00717.40
8.1.110.0030.00517.49
8.1.100.0040.00417.48
8.1.90.0040.00417.52
8.1.80.0000.00717.52
8.1.70.0070.00017.37
8.1.60.0080.00017.55
8.1.50.0040.00417.43
8.1.40.0000.00717.43
8.1.30.0040.00417.57
8.1.20.0040.00417.67
8.1.10.0000.00717.64
8.1.00.0030.00617.38
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0030.00318.47
8.0.270.0030.00317.23
8.0.260.0000.00617.33
8.0.250.0070.00017.08
8.0.240.0030.00617.08
8.0.230.0040.00417.07
8.0.220.0050.00316.93
8.0.210.0030.00316.93
8.0.200.0030.00316.97
8.0.190.0040.00416.93
8.0.180.0050.00216.98
8.0.170.0050.00317.01
8.0.160.0030.00516.89
8.0.150.0000.00716.91
8.0.140.0000.00716.91
8.0.130.0040.00413.39
8.0.120.0000.00816.83
8.0.110.0040.00416.86
8.0.100.0040.00416.98
8.0.90.0000.00817.00
8.0.80.0070.01316.95
8.0.70.0040.00416.82
8.0.60.0070.00016.92
8.0.50.0030.00516.81
8.0.30.0120.00817.11
8.0.20.0110.00917.40
8.0.10.0040.00417.07
8.0.00.0120.00616.81
7.4.330.0040.00415.55
7.4.320.0030.00316.51
7.4.300.0000.00716.42
7.4.290.0050.00316.44
7.4.280.0080.00016.52
7.4.270.0000.00716.42
7.4.260.0070.00016.50
7.4.250.0070.00016.54
7.4.240.0030.00316.47
7.4.230.0070.00016.49
7.4.220.0150.00316.57
7.4.210.0070.00716.44
7.4.200.0030.00316.63
7.4.160.0100.00516.55
7.4.150.0210.00317.40
7.4.140.0100.01317.86
7.4.130.0100.01016.45
7.4.120.0100.01116.57
7.4.110.0120.01116.44
7.4.100.0110.01116.49
7.4.90.0080.00816.42
7.4.80.0120.00319.39
7.4.70.0090.00816.47
7.4.60.0050.01116.52
7.4.50.0070.00316.64
7.4.40.0120.01116.45
7.4.30.0110.01116.31
7.4.00.0120.00315.08
7.3.330.0000.00513.45
7.3.320.0000.00613.24
7.3.310.0000.00716.23
7.3.300.0000.00616.39
7.3.290.0120.00616.46
7.3.280.0080.01016.38
7.3.270.0000.01817.40
7.3.260.0150.00516.49
7.3.250.0080.01116.57
7.3.240.0110.00616.60
7.3.230.0120.00616.60
7.3.210.0080.00916.50
7.3.200.0130.00316.51
7.3.190.0030.01316.51
7.3.180.0160.00616.32
7.3.170.0110.01116.33
7.3.160.0090.00916.38
7.3.00.0070.00716.45
7.2.330.0120.00916.68
7.2.320.0090.01016.67
7.2.310.0080.00816.80
7.2.300.0030.01616.71
7.2.290.0160.00816.61
7.2.130.0060.00916.96
7.2.120.0090.00617.01
7.2.110.0060.00616.87
7.2.100.0070.00316.77
7.2.90.0110.00416.96
7.2.80.0070.00716.84
7.2.70.0040.01116.84
7.2.60.0100.00716.79
7.2.50.0000.01317.00
7.2.40.0060.00316.86
7.2.30.0080.00816.82
7.2.20.0110.00417.11
7.2.10.0030.00716.91
7.2.00.0000.00917.06
7.1.250.0060.00915.98
7.1.240.0030.00615.68
7.1.230.0030.00715.59
7.1.220.0070.00415.88
7.1.210.0120.00015.61
7.1.200.0060.00715.69
7.1.190.0080.00315.44
7.1.180.0060.00915.74
7.1.170.0040.01115.70
7.1.160.0060.00315.83
7.1.150.0070.00715.71
7.1.140.0060.00915.88
7.1.130.0060.00615.57
7.1.120.0040.01115.51
7.1.110.0030.00615.54
7.1.100.0030.00715.91
7.1.90.0040.00715.80
7.1.80.0070.00715.73
7.1.70.0040.00616.40
7.1.60.0050.00716.62
7.1.50.0060.00616.40
7.1.40.0100.00715.85
7.1.30.1410.04429.58
7.1.20.0100.04026.05
7.1.10.0120.04218.08
7.1.00.0070.03718.26
7.0.330.0070.00715.16
7.0.320.0100.00015.08
7.0.310.0090.00615.04
7.0.300.0030.00615.29
7.0.290.0080.00815.03
7.0.280.0080.00415.23
7.0.270.0030.00715.13
7.0.260.0030.00515.00
7.0.250.0080.00315.28
7.0.240.0030.00615.58
7.0.230.0000.01015.30
7.0.220.0070.00315.42
7.0.210.0090.00315.57
7.0.200.0060.00416.00
7.0.190.0070.00415.26
7.0.180.0070.00415.22
7.0.170.0080.03517.54
7.0.160.1860.03317.65
7.0.150.0140.02617.72
7.0.140.0140.03017.78
7.0.130.0190.03317.92
7.0.120.0110.04217.78
7.0.110.0940.03617.73
7.0.100.2180.03617.73
7.0.90.0410.02917.77
7.0.80.0080.03517.62
7.0.70.0090.03317.71
7.0.60.0110.02917.77
7.0.50.0110.03517.70
7.0.40.0120.03416.80
7.0.30.1650.02716.95
7.0.20.0110.03716.79
7.0.10.0050.03616.65
7.0.00.0100.03116.65
5.6.380.0080.00814.28

preferences:
65.31 ms | 400 KiB | 5 Q