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 'nxx.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.0110.00718.43
8.3.50.0130.00621.25
8.3.40.0070.00718.92
8.3.30.0160.00018.84
8.3.20.0050.00320.16
8.3.10.0040.00421.86
8.3.00.0040.00419.66
8.2.180.0120.00616.75
8.2.170.0120.00322.96
8.2.160.0100.00319.46
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0050.00319.31
8.2.120.0100.00026.35
8.2.110.0060.00320.43
8.2.100.0000.01218.04
8.2.90.0060.00319.05
8.2.80.0080.00017.97
8.2.70.0090.00017.75
8.2.60.0060.00318.04
8.2.50.0000.00818.07
8.2.40.0050.00322.20
8.2.30.0070.00020.73
8.2.20.0000.00817.64
8.2.10.0040.00418.15
8.2.00.0040.00418.07
8.1.280.0140.00425.92
8.1.270.0040.00420.33
8.1.260.0030.00628.09
8.1.250.0050.00328.09
8.1.240.0090.00023.86
8.1.230.0110.00017.82
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.48
8.1.190.0060.00317.36
8.1.180.0040.00418.10
8.1.170.0030.00518.64
8.1.160.0040.00420.69
8.1.150.0040.00418.95
8.1.140.0000.00819.59
8.1.130.0000.00817.76
8.1.120.0000.00717.57
8.1.110.0040.00417.38
8.1.100.0050.00517.53
8.1.90.0080.00017.44
8.1.80.0040.00417.48
8.1.70.0070.00017.43
8.1.60.0000.00817.70
8.1.50.0050.00317.60
8.1.40.0000.00817.61
8.1.30.0080.00017.78
8.1.20.0000.00917.71
8.1.10.0000.00817.63
8.1.00.0000.00817.60
8.0.300.0060.00318.77
8.0.290.0000.00716.75
8.0.280.0000.00718.52
8.0.270.0030.00317.34
8.0.260.0040.00417.25
8.0.250.0000.00717.09
8.0.240.0000.00716.98
8.0.230.0030.00317.02
8.0.220.0000.00717.04
8.0.210.0070.00016.95
8.0.200.0000.00717.11
8.0.190.0060.00317.04
8.0.180.0040.00417.03
8.0.170.0080.00016.93
8.0.160.0040.00416.99
8.0.150.0000.00816.88
8.0.140.0040.00416.89
8.0.130.0030.00313.49
8.0.120.0030.00616.85
8.0.110.0050.00316.92
8.0.100.0040.00417.06
8.0.90.0040.00416.91
8.0.80.0060.01016.96
8.0.70.0000.00717.00
8.0.60.0080.00017.05
8.0.50.0000.00716.92
8.0.30.0100.00817.17
8.0.20.0110.01017.40
8.0.10.0040.00417.13
8.0.00.0100.00816.99
7.4.330.0000.00616.85
7.4.320.0070.00016.66
7.4.300.0030.00316.65
7.4.290.0030.00316.65
7.4.280.0080.00316.47
7.4.270.0000.00716.56
7.4.260.0050.00316.62
7.4.250.0050.00316.63
7.4.240.0050.00216.60
7.4.230.0040.00416.63
7.4.220.0130.00616.57
7.4.210.0060.01016.52
7.4.200.0020.00516.33
7.4.160.0100.00616.49
7.4.150.0040.01417.40
7.4.140.0150.00617.86
7.4.130.0120.00616.45
7.4.120.0130.00716.60
7.4.110.0110.01216.57
7.4.100.0150.00316.49
7.4.90.0100.01316.58
7.4.80.0100.01319.39
7.4.70.0000.01716.75
7.4.60.0100.00716.55
7.4.50.0130.00316.60
7.4.40.0110.00616.74
7.4.30.0060.01216.68
7.4.00.0080.00814.92
7.3.330.0000.00713.45
7.3.320.0030.00313.53
7.3.310.0020.00516.33
7.3.300.0040.00416.38
7.3.290.0040.01116.42
7.3.280.0080.01116.47
7.3.270.0110.00617.40
7.3.260.0040.01216.46
7.3.250.0110.00616.53
7.3.240.0080.00916.63
7.3.230.0100.00716.58
7.3.210.0140.00416.55
7.3.200.0110.00516.46
7.3.190.0060.01216.57
7.3.180.0030.01916.63
7.3.170.0140.00316.51
7.3.160.0170.00016.53
7.3.120.0060.01314.69
7.3.110.0060.01014.98
7.3.100.0110.00414.64
7.3.90.0060.01114.89
7.3.80.0030.01014.58
7.3.70.0090.00014.97
7.3.60.0130.00314.82
7.3.50.0030.00614.66
7.3.40.0060.00614.95
7.3.30.0030.01014.70
7.3.20.0030.01316.73
7.3.10.0100.00316.77
7.3.00.0030.01016.37
7.2.330.0070.01116.82
7.2.320.0030.01516.60
7.2.310.0140.00816.77
7.2.300.0000.01516.56
7.2.290.0100.01016.75
7.2.250.0040.01515.27
7.2.240.0140.00715.26
7.2.230.0120.00614.77
7.2.220.0130.00615.20
7.2.210.0130.00315.37
7.2.200.0090.00615.04
7.2.190.0090.00614.86
7.2.180.0000.00914.98
7.2.170.0070.01014.86
7.2.60.0090.00616.78
7.2.00.0030.00919.45
7.1.330.0120.00315.62
7.1.320.0090.00615.97
7.1.310.0080.00816.09
7.1.300.0100.00315.69
7.1.290.0040.00415.80
7.1.280.0090.00415.70
7.1.270.0070.01015.84
7.1.260.0110.00315.44
7.1.200.0000.01215.86
7.1.100.0000.01518.13
7.1.70.0050.00217.03
7.1.60.0100.01619.05
7.1.50.0040.01816.89
7.1.00.0030.07722.38
7.0.200.0050.00216.78
7.0.60.0100.08020.05
7.0.50.0030.05017.90
7.0.40.0130.08020.15
7.0.30.0270.06720.25
7.0.20.0370.07720.24
7.0.10.0070.05020.10
7.0.00.0130.07320.13
5.6.280.0030.03020.90
5.6.210.0130.06320.51
5.6.200.0070.08318.15
5.6.190.0030.08320.77
5.6.180.3900.03320.58
5.6.170.0330.06320.48
5.6.160.0000.07020.56
5.6.150.0070.04318.18
5.6.140.0170.06318.15
5.6.130.0100.07718.12
5.6.120.0170.07021.14
5.6.110.0070.07021.00
5.6.100.0070.04021.08
5.6.90.0100.03720.95
5.6.80.0030.04720.54
5.5.350.0130.07020.45
5.5.340.0070.03717.96
5.5.330.0030.05020.41
5.5.320.0370.04320.29
5.5.310.0300.06720.52
5.5.300.0000.04317.94
5.5.290.0000.08717.98
5.5.280.0130.05020.98
5.5.270.0070.03720.80
5.5.260.0070.08320.88
5.5.250.0070.09020.54
5.5.240.0270.06720.19

preferences:
71.22 ms | 401 KiB | 5 Q