3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_PARSE); 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.0090.01218.22
8.3.50.0140.00521.08
8.3.40.0060.00918.88
8.3.30.0030.01020.37
8.3.20.0050.00320.09
8.3.10.0040.00422.07
8.3.00.0040.00422.34
8.2.180.0150.00018.54
8.2.170.0100.01022.96
8.2.160.0130.00322.02
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0000.00720.79
8.2.110.0160.00722.00
8.2.100.0060.00617.72
8.2.90.0050.00319.05
8.2.80.0050.00319.18
8.2.70.0000.00817.63
8.2.60.0030.00518.16
8.2.50.0080.00018.07
8.2.40.0040.00418.24
8.2.30.0040.00419.48
8.2.20.0050.00317.59
8.2.10.0000.00917.59
8.2.00.0030.00517.73
8.1.280.0060.01325.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0070.00323.96
8.1.230.0080.00318.97
8.1.220.0040.00417.78
8.1.210.0000.00818.77
8.1.200.0090.00017.23
8.1.190.0040.00417.29
8.1.180.0040.00419.01
8.1.170.0090.00018.41
8.1.160.0020.00518.70
8.1.150.0040.00418.47
8.1.140.0050.00217.32
8.1.130.0030.00317.75
8.1.120.0040.00417.25
8.1.110.0050.00517.33
8.1.100.0000.00717.23
8.1.90.0000.00717.36
8.1.80.0050.00317.38
8.1.70.0040.00417.29
8.1.60.0030.00617.45
8.1.50.0050.00317.44
8.1.40.0040.00417.47
8.1.30.0080.00017.51
8.1.20.0040.00417.49
8.1.10.0050.00217.43
8.1.00.0090.00017.41
8.0.300.0050.00318.77
8.0.290.0040.00417.05
8.0.280.0070.00018.36
8.0.270.0070.00017.25
8.0.260.0030.00316.88
8.0.250.0030.00316.92
8.0.240.0000.00716.97
8.0.230.0000.00716.84
8.0.220.0030.00316.84
8.0.210.0030.00316.79
8.0.200.0030.00316.91
8.0.190.0030.00317.01
8.0.180.0000.00716.77
8.0.170.0000.00916.81
8.0.160.0040.00416.87
8.0.150.0000.01016.73
8.0.140.0040.00416.80
8.0.130.0000.00513.31
8.0.120.0000.00716.86
8.0.110.0070.00016.92
8.0.100.0040.00416.90
8.0.90.0080.00016.75
8.0.80.0110.00416.89
8.0.70.0040.00416.76
8.0.60.0030.00516.95
8.0.50.0000.00716.68
8.0.30.0080.01317.15
8.0.20.0120.00617.40
8.0.10.0030.00516.82
8.0.00.0090.01216.72
7.4.330.0000.00515.00
7.4.320.0030.00316.32
7.4.300.0040.00416.46
7.4.290.0030.00316.58
7.4.280.0030.00316.42
7.4.270.0030.00316.53
7.4.260.0060.00013.25
7.4.250.0000.00716.51
7.4.240.0040.00416.50
7.4.230.0030.00316.55
7.4.220.0170.00716.54
7.4.210.0060.01016.52
7.4.200.0030.00316.52
7.4.190.0000.00716.63
7.4.160.0130.00316.50
7.4.150.0110.00717.40
7.4.140.0110.00717.86
7.4.130.0080.01116.34
7.4.120.0080.01016.45
7.4.110.0060.01116.57
7.4.100.0140.00416.57
7.4.90.0120.00616.36
7.4.80.0070.01319.39
7.4.70.0100.01016.37
7.4.60.0130.01016.29
7.4.50.0030.00516.23
7.4.40.0030.01022.77
7.4.30.0120.00416.71
7.4.00.0070.00814.71
7.3.330.0000.00513.39
7.3.320.0050.00013.16
7.3.310.0000.00716.47
7.3.300.0070.00016.33
7.3.290.0060.01216.37
7.3.280.0100.00516.37
7.3.270.0090.00917.40
7.3.260.0140.00816.43
7.3.250.0080.01216.46
7.3.240.0100.00716.46
7.3.230.0060.01316.59
7.3.210.0030.01316.31
7.3.200.0110.01119.39
7.3.190.0090.01216.29
7.3.180.0130.00616.61
7.3.170.0110.00416.40
7.3.160.0150.00016.39
7.3.120.0040.01014.81
7.3.110.0070.01014.79
7.3.100.0060.00914.46
7.3.90.0000.01014.96
7.3.80.0080.00614.68
7.3.70.0030.00615.02
7.3.60.0040.01214.75
7.3.50.0000.01314.65
7.3.40.0000.01114.86
7.3.30.0110.00714.87
7.3.20.0090.00616.81
7.3.10.0100.00716.64
7.3.00.0080.00416.62
7.2.330.0030.01416.63
7.2.320.0120.00616.64
7.2.310.0090.01216.74
7.2.300.0030.01316.66
7.2.290.0090.00916.55
7.2.250.0080.00814.88
7.2.240.0030.01414.92
7.2.230.0070.00715.02
7.2.220.0000.01315.16
7.2.210.0030.00914.74
7.2.200.0030.00914.69
7.2.190.0040.00814.99
7.2.180.0030.01015.13
7.2.170.0040.01215.04
7.2.130.0000.01316.58
7.2.120.0060.00916.68
7.2.110.0050.01016.75
7.2.100.0050.00816.63
7.2.90.0080.00616.76
7.2.80.0100.00816.79
7.2.70.0030.01116.53
7.2.60.0080.00616.82
7.2.50.0080.00516.63
7.2.40.0050.01016.77
7.2.30.0070.00816.79
7.2.20.0030.00816.83
7.2.10.0050.01016.91
7.2.00.0050.01017.59
7.1.330.0090.00615.93
7.1.320.0030.00915.87
7.1.310.0040.00415.88
7.1.300.0060.00315.50
7.1.290.0030.01115.50
7.1.280.0000.01615.91
7.1.270.0000.01215.63
7.1.260.0100.00715.64
7.1.250.0090.00415.49
7.1.200.0090.00615.61
7.1.100.0030.01018.13
7.1.70.0050.00317.16
7.1.60.0160.00919.32
7.1.50.0110.01116.98
7.1.00.0030.03322.43
7.0.200.0030.00516.80
7.0.140.0030.07321.95
7.0.100.0030.05319.90
7.0.90.0130.04719.91
7.0.80.0030.08019.89
7.0.70.0130.04719.86
7.0.60.0170.06719.87
7.0.50.0100.06320.35
7.0.40.0130.06320.09
7.0.30.0100.08720.13
7.0.20.0070.08320.18
7.0.10.0070.06320.02
7.0.00.0230.05020.03
5.6.280.0070.06721.13
5.6.250.0130.07020.78
5.6.240.0030.08320.60
5.6.230.0070.04320.66
5.6.220.0070.07020.53
5.6.210.0100.07720.62
5.6.200.0030.05320.93
5.6.190.0200.06021.00
5.6.180.0130.07721.09
5.6.170.0170.06721.17
5.6.160.0070.04720.94
5.6.150.0030.05720.95
5.6.140.0030.04721.02
5.6.130.0000.05021.10
5.6.120.0200.05321.01
5.6.110.0230.03721.02
5.6.100.0070.08721.04
5.6.90.0030.07321.09
5.6.80.0070.04720.40
5.6.70.0170.03720.41
5.6.60.0170.07020.51
5.6.50.0070.07320.52
5.6.40.0130.07320.30
5.6.30.0130.08720.40
5.6.20.0070.08020.49
5.6.10.0070.06720.40
5.6.00.0100.05720.36
5.5.380.0070.07020.55
5.5.370.0100.05320.43
5.5.360.0130.05020.56
5.5.350.0000.07720.44
5.5.340.0070.08020.80
5.5.330.0130.04720.80
5.5.320.0070.05020.86
5.5.310.0070.04320.80
5.5.300.0030.04720.64
5.5.290.0100.06320.89
5.5.280.0130.07020.73
5.5.270.0030.05320.71
5.5.260.0070.07720.91
5.5.250.0070.04720.46
5.5.240.0100.07320.24
5.5.230.0030.08020.23
5.5.220.0100.05020.27
5.5.210.0030.07720.02
5.5.200.0030.04720.14
5.5.190.0330.03320.27
5.5.180.0070.06320.08
5.5.160.0070.06320.25
5.5.150.0000.07720.23
5.5.140.0130.03020.23
5.5.130.0100.07720.23
5.5.120.0100.04720.29
5.5.110.0070.07320.12
5.5.100.0030.07320.09
5.5.90.0230.05320.16
5.5.80.0030.06719.95
5.5.70.0100.05020.12
5.5.60.0070.04720.10
5.5.50.0100.08720.05
5.5.40.0070.04020.15
5.5.30.0000.04720.05
5.5.20.0030.05720.08
5.5.10.0270.04019.98
5.5.00.0100.07020.00
5.4.450.0130.08019.47
5.4.440.0000.07019.45
5.4.430.0070.04019.50
5.4.420.0070.04319.36
5.4.410.0070.05719.16
5.4.400.0070.07019.13
5.4.390.0130.05019.15
5.4.380.0030.06018.85
5.4.370.0070.06318.95
5.4.360.0100.06719.05
5.4.350.0070.07319.21
5.4.340.0070.07019.05
5.4.320.0100.07019.03
5.4.310.0200.05718.88
5.4.300.0070.04019.02
5.4.290.0070.04319.21
5.4.280.0170.07019.21
5.4.270.0030.06719.13
5.4.260.0100.07718.89
5.4.250.0070.06718.91
5.4.240.0200.04719.02
5.4.230.0030.08018.90
5.4.220.0170.07019.12
5.4.210.0100.04319.02
5.4.200.0130.07019.12
5.4.190.0100.04019.08
5.4.180.0130.06319.12
5.4.170.0030.04718.87
5.4.160.0030.05319.01
5.4.150.0070.07019.11
5.4.140.0100.05016.33
5.4.130.0030.05016.41
5.4.120.0100.06316.45
5.4.110.0100.07016.42
5.4.100.0070.06016.34
5.4.90.0130.06316.27
5.4.80.0070.06716.38
5.4.70.0070.07016.30
5.4.60.0070.04016.41
5.4.50.0030.03716.46
5.4.40.0130.05716.46
5.4.30.0070.04716.49
5.4.20.0100.06716.36
5.4.10.0000.04016.36
5.4.00.0070.06715.85
5.3.290.0030.04314.64
5.3.280.0070.07714.56
5.3.270.0070.07714.71
5.3.260.0100.07314.67
5.3.250.0200.04014.69
5.3.240.0100.05714.58
5.3.230.0130.07014.67
5.3.220.0030.07014.49
5.3.210.0100.06314.67
5.3.200.0030.07014.66
5.3.190.0130.06714.48
5.3.180.0070.06714.62
5.3.170.0030.04714.71
5.3.160.0070.07014.63
5.3.150.0030.04014.62
5.3.140.0030.07314.67
5.3.130.0030.04014.55
5.3.120.0070.08014.50
5.3.110.0070.06014.68
5.3.100.0030.05314.15
5.3.90.0070.07014.11
5.3.80.0070.05714.14
5.3.70.0000.03314.01
5.3.60.0100.06313.93
5.3.50.0100.03714.07
5.3.40.0100.07313.97
5.3.30.0070.04313.99
5.3.20.0070.06713.80
5.3.10.0070.03013.68
5.3.00.0070.03713.70
5.2.170.0000.07011.20
5.2.160.0070.07011.19
5.2.150.0000.03011.14
5.2.140.0070.03711.25
5.2.130.0030.06011.14
5.2.120.0070.03010.95
5.2.110.0070.04311.00
5.2.100.0070.05710.95
5.2.90.0070.06311.11
5.2.80.0000.02711.01
5.2.70.0000.02711.00
5.2.60.0030.03711.17
5.2.50.0070.04011.03
5.2.40.0030.03311.06
5.2.30.0100.02710.83
5.2.20.0070.06011.07
5.2.10.0070.06010.94
5.2.00.0030.06310.57
5.1.60.0100.03710.48
5.1.50.0000.04010.48
5.1.40.0000.02710.48
5.1.30.0030.02310.48
5.1.20.0030.05710.49
5.1.10.0000.02310.48
5.1.00.0000.05710.48
5.0.50.0070.03310.48
5.0.40.0030.02310.48
5.0.30.0030.05710.48
5.0.20.0070.04010.48
5.0.10.0030.03310.48
5.0.00.0030.05010.48
4.4.90.0030.03010.48
4.4.80.0030.01710.48
4.4.70.0030.03310.48
4.4.60.0100.02010.48
4.4.50.0000.02010.48
4.4.40.0000.06010.48
4.4.30.0000.01710.48
4.4.20.0000.03310.48
4.4.10.0000.03710.48
4.4.00.0000.02710.48
4.3.110.0000.02310.48
4.3.100.0100.03310.48
4.3.90.0100.02710.48
4.3.80.0000.04710.48
4.3.70.0030.04010.48
4.3.60.0000.03010.48
4.3.50.0030.02710.48
4.3.40.0000.05310.48
4.3.30.0070.03010.48
4.3.20.0030.03710.48
4.3.10.0000.02010.48
4.3.00.0000.03310.48

preferences:
68.55 ms | 401 KiB | 5 Q