3v4l.org

run code in 300+ PHP versions simultaneously
<?php function exception_error_handler($severity, $message, $file, $line) { if (!(error_reporting() & $severity)) { // This error code is not included in error_reporting return; } throw new ErrorException($message, 0, $severity, $file, $line); } set_error_handler("exception_error_handler"); try { require_once 'nosuchfile.php'; } Catch (ErrorException $e) { var_dump($e); }

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.0120.00618.52
8.3.50.0150.00421.03
8.3.40.0110.00419.01
8.3.30.0100.00618.79
8.3.20.0040.00420.01
8.3.10.0080.00021.69
8.3.00.0040.00419.79
8.2.180.0060.01016.63
8.2.170.0150.00622.96
8.2.160.0110.00319.33
8.2.150.0030.00724.18
8.2.140.0080.00024.66
8.2.130.0080.00019.30
8.2.120.0070.00326.35
8.2.110.0060.00320.44
8.2.100.0120.00018.03
8.2.90.0000.00819.23
8.2.80.0060.00317.97
8.2.70.0040.00417.63
8.2.60.0030.00517.93
8.2.50.0040.00418.07
8.2.40.0050.00322.39
8.2.30.0040.00420.57
8.2.20.0000.00717.75
8.2.10.0050.00318.08
8.2.00.0040.00418.05
8.1.280.0060.00925.92
8.1.270.0040.00420.13
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0060.00323.84
8.1.230.0090.00317.70
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00717.36
8.1.190.0030.00517.35
8.1.180.0000.00818.10
8.1.170.0060.00318.65
8.1.160.0040.00420.77
8.1.150.0000.00818.95
8.1.140.0030.00619.50
8.1.130.0070.00017.62
8.1.120.0040.00417.54
8.1.110.0000.00817.45
8.1.100.0040.00417.37
8.1.90.0050.00217.51
8.1.80.0030.00517.46
8.1.70.0000.00817.32
8.1.60.0040.00417.62
8.1.50.0030.00517.46
8.1.40.0000.00817.61
8.1.30.0040.00417.59
8.1.20.0050.00317.75
8.1.10.0060.00317.62
8.1.00.0040.00417.60
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0030.00318.54
8.0.270.0070.00017.34
8.0.260.0030.00317.26
8.0.250.0030.00316.98
8.0.240.0000.00817.11
8.0.230.0030.00317.05
8.0.220.0020.00516.96
8.0.210.0040.00416.94
8.0.200.0000.00617.07
8.0.190.0040.00417.01
8.0.180.0040.00417.11
8.0.170.0000.00817.10
8.0.160.0000.00716.94
8.0.150.0040.00417.02
8.0.140.0080.00016.89
8.0.130.0050.00013.53
8.0.120.0030.00617.02
8.0.110.0080.00017.10
8.0.100.0040.00416.82
8.0.90.0040.00417.10
8.0.80.0110.01117.01
8.0.70.0000.00716.99
8.0.60.0040.00416.93
8.0.50.0000.00717.02
8.0.30.0090.01017.05
8.0.20.0110.01117.40
8.0.10.0050.00216.90
8.0.00.0140.00816.86
7.4.330.0000.00516.79
7.4.320.0040.00416.45
7.4.300.0030.00316.63
7.4.290.0040.00416.67
7.4.280.0110.00016.43
7.4.270.0030.00316.46
7.4.260.0040.00416.56
7.4.250.0040.00416.51
7.4.240.0020.00516.52
7.4.230.0030.00316.53
7.4.220.0090.00916.48
7.4.210.0000.01416.53
7.4.200.0030.00316.66
7.4.160.0030.01316.69
7.4.150.0210.00017.40
7.4.140.0080.01017.86
7.4.130.0110.00616.58
7.4.120.0180.00516.44
7.4.110.0090.01316.39
7.4.100.0140.00316.59
7.4.90.0110.00816.62
7.4.80.0060.01219.39
7.4.70.0110.00516.52
7.4.60.0130.00716.70
7.4.50.0070.01016.45
7.4.40.0080.00816.47
7.4.30.0030.02116.60
7.4.00.0070.01014.95
7.3.330.0040.00413.42
7.3.320.0000.00713.32
7.3.310.0050.00316.36
7.3.300.0020.00516.38
7.3.290.0100.00516.47
7.3.280.0090.00816.46
7.3.270.0130.00717.40
7.3.260.0100.00716.47
7.3.240.0080.00816.43
7.3.230.0100.00616.52
7.3.210.0040.01216.43
7.3.200.0060.00916.44
7.3.190.0110.01116.50
7.3.180.0120.00316.52
7.3.170.0120.00616.48
7.3.160.0060.01216.66
7.3.120.0040.01215.02
7.3.110.0090.00914.97
7.3.100.0070.01014.89
7.3.90.0130.00314.67
7.3.80.0110.00015.10
7.3.70.0080.00315.02
7.3.60.0040.00714.78
7.3.50.0000.01414.64
7.3.40.0090.00314.88
7.3.30.0040.00814.74
7.3.20.0090.00616.67
7.3.10.0060.00716.47
7.3.00.0100.00316.63
7.2.330.0070.01016.60
7.2.320.0140.00316.82
7.2.310.0120.00616.68
7.2.300.0110.00716.51
7.2.290.0130.00616.52
7.2.250.0120.00914.70
7.2.240.0130.00615.05
7.2.230.0000.01215.11
7.2.220.0030.01015.15
7.2.210.0000.01315.27
7.2.200.0000.01215.18
7.2.190.0030.00914.88
7.2.180.0120.00315.19
7.2.170.0030.00915.24
7.2.130.0040.00716.90
7.2.120.0060.00617.06
7.2.110.0060.00616.99
7.2.100.0080.00416.84
7.2.90.0070.00416.82
7.2.80.0040.00716.71
7.2.70.0040.00816.94
7.2.60.0090.00516.88
7.2.50.0120.00016.81
7.2.40.0060.01017.06
7.2.30.0060.00616.84
7.2.20.0040.01117.03
7.2.10.0120.00016.80
7.2.00.0030.01018.25
7.1.330.0040.00715.57
7.1.320.0060.00615.79
7.1.310.0030.00915.78
7.1.300.0040.01115.88
7.1.290.0080.00315.64
7.1.280.0070.00715.77
7.1.270.0060.00915.97
7.1.260.0120.00315.76
7.1.250.0000.01415.57
7.1.200.0080.00415.63
7.1.100.0060.00618.00
7.1.70.0000.00817.17
7.1.60.0030.02119.05
7.1.50.0130.00916.97
7.1.00.0030.07722.32
7.0.200.0040.00416.89
7.0.60.0100.07720.03
7.0.50.0070.08017.87
7.0.40.0000.04720.13
7.0.30.0330.04320.16
7.0.20.0370.06320.07
7.0.10.0070.08320.10
7.0.00.0130.07720.19
5.6.280.0100.02720.91
5.6.210.0230.06720.56
5.6.200.0100.04018.18
5.6.190.0070.04020.50
5.6.180.3530.04320.62
5.6.170.0230.05020.51
5.6.160.0170.08020.45
5.6.150.0000.04318.23
5.6.140.0130.07318.18
5.6.130.0030.05718.18
5.6.120.0130.03720.98
5.6.110.0030.04721.02
5.6.100.0070.07721.12
5.6.90.0070.04321.13
5.6.80.0130.07720.41
5.5.350.0200.06320.36
5.5.340.0030.08018.00
5.5.330.0100.07720.38
5.5.320.0330.07720.35
5.5.310.0430.06320.43
5.5.300.0100.06718.09
5.5.290.0130.07717.98
5.5.280.0030.04020.76
5.5.270.0100.07720.73
5.5.260.0030.09020.79
5.5.250.0130.03320.74
5.5.240.0300.07020.29

preferences:
46.85 ms | 401 KiB | 5 Q