3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); echo error_reporting(); function exception_error_handler($errno, $errstr, $errfile, $errline, $errcontext) { echo 'as'; /* if (error_reporting() == 0) { return; } //if (error_reporting() & $severity) { throw new ErrorException($message, 0, $severity, $filename, $lineno); //} */ // will be caught by FunkyExceptionHandler if not handled throw new ErrorException($errstr, 0, $errno, $errfile, $errline, $errcontext); return false; } //set_error_handler("exception_error_handler", error_reporting()); $a::ascf();

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.0070.00718.56
8.3.50.0130.00721.08
8.3.40.0170.00318.97
8.3.30.0100.00320.33
8.3.20.0040.00420.16
8.3.10.0040.00422.10
8.3.00.0000.00822.45
8.2.180.0130.01016.63
8.2.170.0100.01022.96
8.2.160.0170.00022.25
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0040.00420.73
8.2.110.0030.00622.21
8.2.100.0060.00617.84
8.2.90.0060.00319.05
8.2.80.0070.00019.47
8.2.70.0090.00017.38
8.2.60.0040.00417.93
8.2.50.0030.00518.07
8.2.40.0080.00018.22
8.2.30.0040.00419.30
8.2.20.0050.00317.70
8.2.10.0040.00417.65
8.2.00.0030.00817.59
8.1.280.0060.00925.92
8.1.270.0040.00423.99
8.1.260.0040.01126.35
8.1.250.0040.00428.09
8.1.240.0090.00023.85
8.1.230.0040.00719.06
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0060.00317.22
8.1.190.0040.00417.40
8.1.180.0050.00319.01
8.1.170.0040.00418.58
8.1.160.0030.00518.76
8.1.150.0030.00518.51
8.1.140.0000.00717.23
8.1.130.0000.00717.75
8.1.120.0000.00717.27
8.1.110.0080.00017.36
8.1.100.0000.00817.19
8.1.90.0040.00417.39
8.1.80.0030.00517.35
8.1.70.0000.00717.31
8.1.60.0000.00817.38
8.1.50.0000.00717.40
8.1.40.0000.00817.41
8.1.30.0000.00717.54
8.1.20.0030.00517.45
8.1.10.0040.00417.53
8.1.00.0060.00617.45
8.0.300.0070.00018.77
8.0.290.0050.00317.18
8.0.280.0000.00718.44
8.0.270.0070.00017.26
8.0.260.0000.00616.88
8.0.250.0000.00716.98
8.0.240.0060.00316.86
8.0.230.0050.00316.80
8.0.220.0030.00316.95
8.0.210.0020.00516.98
8.0.200.0000.00716.88
8.0.190.0080.00016.98
8.0.180.0030.00316.95
8.0.170.0030.00516.80
8.0.160.0000.00716.87
8.0.150.0090.00016.91
8.0.140.0040.00416.83
8.0.130.0000.00513.27
8.0.120.0000.00816.92
8.0.110.0050.00316.82
8.0.100.0000.00716.95
8.0.90.0000.00716.89
8.0.80.0060.01516.85
8.0.70.0030.00516.93
8.0.60.0000.00716.74
8.0.50.0000.00716.90
8.0.30.0120.01217.05
8.0.20.0100.01217.40
8.0.10.0040.00416.84
8.0.00.0040.01716.67
7.4.330.0000.00515.00
7.4.320.0030.00316.39
7.4.300.0060.00016.54
7.4.290.0000.00716.62
7.4.280.0030.00316.52
7.4.270.0000.00716.55
7.4.260.0000.00713.24
7.4.250.0070.00016.34
7.4.240.0020.00516.41
7.4.230.0030.00316.60
7.4.220.0100.00716.40
7.4.210.0050.01316.51
7.4.200.0000.00716.58
7.4.190.0080.00016.62
7.4.160.0110.00416.71
7.4.150.0070.01017.40
7.4.140.0050.01217.86
7.4.130.0090.01016.57
7.4.120.0150.00316.52
7.4.110.0070.01016.38
7.4.100.0060.01216.33
7.4.90.0120.01016.72
7.4.80.0040.01819.39
7.4.70.0030.01316.43
7.4.60.0150.00616.49
7.4.50.0080.00016.36
7.4.40.0090.00622.77
7.4.30.0110.00516.28
7.4.00.0000.01414.90
7.3.330.0030.00313.31
7.3.320.0000.00513.16
7.3.310.0040.00416.42
7.3.300.0000.00616.23
7.3.290.0110.00416.34
7.3.280.0070.01216.37
7.3.270.0080.00817.40
7.3.260.0070.01416.38
7.3.250.0120.00716.40
7.3.240.0030.01416.44
7.3.230.0100.00716.39
7.3.210.0090.00916.53
7.3.200.0140.00919.39
7.3.190.0100.01316.37
7.3.180.0150.00316.34
7.3.170.0060.01016.64
7.3.160.0120.00816.44
7.3.120.0000.01614.85
7.2.330.0060.01216.56
7.2.320.0120.00916.59
7.2.310.0090.00816.71
7.2.300.0140.00316.33
7.2.290.0070.01016.31
7.2.80.0090.00416.38
7.2.60.0070.00716.97
7.2.00.0000.01319.39
7.1.200.0040.00715.62
7.1.70.0070.00017.21
7.1.60.0080.00317.17
7.1.50.0000.02116.66
7.1.00.0100.06722.45
7.0.200.0040.01216.63
7.0.140.0070.07021.95
7.0.80.0230.05019.97
7.0.70.0600.04020.00
7.0.60.0530.07319.94
7.0.50.0430.04720.25
7.0.40.0000.05320.04
7.0.30.0070.08020.08
7.0.20.0030.09020.15
7.0.10.0130.05320.14
7.0.00.0030.06720.02
5.6.280.0000.07720.90
5.6.230.0130.08020.63
5.6.220.0100.08020.74
5.6.210.0070.07320.61
5.6.200.0030.09021.04
5.6.190.0070.04321.08
5.6.180.0100.04021.14
5.6.170.0100.04721.02
5.6.160.0070.08320.93
5.6.150.0170.07320.96
5.6.140.0000.08021.07
5.6.130.0130.08021.04
5.6.120.0100.08721.13
5.6.110.0100.08321.08
5.6.100.0130.05020.93
5.6.90.0070.08021.00
5.6.80.0070.04320.43
5.6.70.0070.04020.44
5.6.60.0130.07020.39
5.6.50.0100.07720.41
5.6.40.0070.08720.53
5.6.30.0030.05020.38
5.6.20.0030.08020.46
5.6.10.0070.08020.52
5.6.00.0100.07720.30
5.5.370.0070.07320.40
5.5.360.0130.07020.45
5.5.350.0070.08720.41
5.5.340.0100.07320.87
5.5.330.0130.07720.78
5.5.320.0030.09020.86
5.5.310.0100.04320.83
5.5.300.0130.05020.89
5.5.290.0130.07720.89
5.5.280.0000.05720.82
5.5.270.0030.08320.62
5.5.260.0100.08020.74
5.5.250.0100.04320.69
5.5.240.0100.07020.16
5.5.230.0070.08020.21
5.5.220.0100.07320.17
5.5.210.0070.07720.18
5.5.200.0070.07720.27
5.5.190.0100.06320.18
5.5.180.0030.05320.21
5.5.160.0070.06020.16
5.5.150.0000.08320.23
5.5.140.0100.04720.22
5.5.130.0100.07320.19
5.5.120.0070.07720.23
5.5.110.0100.03720.20
5.5.100.0070.08020.10
5.5.90.0100.04320.11
5.5.80.0030.05320.15
5.5.70.0030.08020.09
5.5.60.0170.07020.14
5.5.50.0070.07720.06
5.5.40.0130.06720.05
5.5.30.0070.08020.10
5.5.20.0100.04320.05
5.5.10.0130.06719.97
5.5.00.0070.06320.02
5.4.450.0170.07319.26
5.4.440.0130.05019.39
5.4.430.0070.04319.27
5.4.420.0200.06319.20
5.4.410.0100.04019.33
5.4.400.0030.04019.13
5.4.390.0030.05019.09
5.4.380.0070.07018.94
5.4.370.0170.06719.14
5.4.360.0100.05019.16
5.4.350.0070.07318.91
5.4.340.0100.04319.09
5.4.320.0100.05019.23
5.4.310.0030.07319.05
5.4.300.0070.06719.03
5.4.290.0030.06319.04
5.4.280.0000.06019.15
5.4.270.0030.04718.86
5.4.260.0030.03719.02
5.4.250.0070.07019.15
5.4.240.0000.05019.22
5.4.230.0030.04719.15
5.4.220.0200.03719.04
5.4.210.0100.07319.12
5.4.200.0000.05019.20
5.4.190.0000.05019.22
5.4.180.0000.08019.16
5.4.170.0100.04319.11
5.4.160.0000.08019.11
5.4.150.0200.07019.14
5.4.140.0070.07016.41
5.4.130.0000.04716.47
5.4.120.0200.06316.46
5.4.110.0100.07316.39
5.4.100.0130.06716.41
5.4.90.0030.07316.37
5.4.80.0070.07016.45
5.4.70.0100.07016.48
5.4.60.0130.06316.40
5.4.50.0100.07016.31
5.4.40.0100.06316.50
5.4.30.0070.04316.38
5.4.20.0030.04316.35
5.4.10.0030.07016.26
5.4.00.0100.07315.85
5.3.290.0030.07014.80
5.3.280.0100.06314.56
5.3.270.0100.07014.62
5.3.260.0030.07714.55
5.3.250.0030.05014.61
5.3.240.0030.07714.71
5.3.230.0170.06014.58
5.3.220.0030.05014.60
5.3.210.0070.06014.55
5.3.200.0070.07014.52
5.3.190.0030.08014.64
5.3.180.0070.06014.63
5.3.170.0130.03714.67
5.3.160.0070.07714.59
5.3.150.0070.04714.55
5.3.140.0030.06714.61
5.3.130.0070.03714.52
5.3.120.0000.08014.56
5.3.110.0000.07314.52
5.3.100.0070.04014.18
5.3.90.0070.06714.05
5.3.80.0030.05014.05
5.3.70.0030.06313.91
5.3.60.0030.04714.14
5.3.50.0030.07313.93
5.3.40.0100.06014.02
5.3.30.0130.05313.91
5.3.20.0030.07013.62
5.3.10.0070.06313.77
5.3.00.0000.06313.65
5.2.170.0100.06013.51
5.2.160.0030.06013.51
5.2.150.0070.06013.51
5.2.140.0070.03713.51
5.2.130.0100.02713.51
5.2.120.0030.06313.51
5.2.110.0070.05313.51
5.2.100.0070.06013.51
5.2.90.0030.06013.51
5.2.80.0070.06013.51
5.2.70.0030.06313.51
5.2.60.0100.05013.51
5.2.50.0030.03713.51
5.2.40.0130.04013.51
5.2.30.0070.03013.51
5.2.20.0100.05713.51
5.2.10.0100.05313.51
5.2.00.0100.05013.51
5.1.60.0030.05013.51
5.1.50.0000.05713.51
5.1.40.0000.03313.51
5.1.30.0030.03013.51
5.1.20.0000.06013.51
5.1.10.0070.04013.51
5.1.00.0030.03013.51
5.0.50.0030.02713.51
5.0.40.0000.02713.51
5.0.30.0030.05013.51
5.0.20.0030.04713.51
5.0.10.0070.04013.51
5.0.00.0030.05313.51
4.4.90.0000.03713.51
4.4.80.0030.03313.51
4.4.70.0030.03313.51
4.4.60.0030.03013.51
4.4.50.0030.01713.51
4.4.40.0030.03013.51
4.4.30.0030.02313.51
4.4.20.0000.02313.51
4.4.10.0030.02713.51
4.4.00.0070.05013.51
4.3.110.0030.03013.51
4.3.100.0000.02313.51
4.3.90.0000.02013.51
4.3.80.0030.05313.51
4.3.70.0000.02713.51
4.3.60.0100.02713.51
4.3.50.0000.03313.51
4.3.40.0030.04313.51
4.3.30.0030.02713.51
4.3.20.0030.02313.51
4.3.10.0000.03013.51
4.3.00.0030.02013.51

preferences:
42.57 ms | 401 KiB | 5 Q