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()); //Parse error: syntax error, unexpected '$a' shopFunctionsF::PrintIcon(); $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.0040.01116.74
8.3.50.0090.00917.51
8.3.40.0150.00018.65
8.3.30.0000.01518.53
8.3.20.0050.00318.89
8.3.10.0040.00418.50
8.3.00.0080.00019.50
8.2.180.0070.01418.41
8.2.170.0100.00322.96
8.2.160.0030.01021.18
8.2.150.0050.00324.18
8.2.140.0030.00624.66
8.2.130.0070.00026.16
8.2.120.0080.00020.71
8.2.110.0070.00321.12
8.2.100.0110.00017.72
8.2.90.0060.00317.77
8.2.80.0060.00318.03
8.2.70.0080.00017.63
8.2.60.0110.00417.54
8.2.50.0000.00818.07
8.2.40.0030.00618.22
8.2.30.0070.00018.10
8.2.20.0070.00017.57
8.2.10.0070.00017.50
8.2.00.0040.00417.73
8.1.280.0100.00725.92
8.1.270.0000.00724.66
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0000.00922.45
8.1.230.0130.00520.95
8.1.220.0060.00317.76
8.1.210.0040.00418.87
8.1.200.0030.00617.36
8.1.190.0000.00717.40
8.1.180.0040.00418.10
8.1.170.0070.00018.91
8.1.160.0040.00418.68
8.1.150.0040.00418.39
8.1.140.0070.00017.37
8.1.130.0030.00317.77
8.1.120.0050.00317.24
8.1.110.0000.00717.39
8.1.100.0040.00417.35
8.1.90.0000.00717.30
8.1.80.0000.00717.30
8.1.70.0030.00517.29
8.1.60.0020.00517.34
8.1.50.0050.00317.32
8.1.40.0000.00717.35
8.1.30.0030.00517.64
8.1.20.0030.00617.55
8.1.10.0080.00017.51
8.1.00.0000.00717.46
8.0.300.0040.00419.85
8.0.290.0000.00816.75
8.0.280.0070.00018.44
8.0.270.0070.00017.22
8.0.260.0030.00316.76
8.0.250.0000.00817.04
8.0.240.0050.00217.06
8.0.230.0000.00716.94
8.0.220.0030.00316.79
8.0.210.0000.00816.77
8.0.200.0000.00616.84
8.0.190.0090.00017.02
8.0.180.0030.00616.94
8.0.170.0040.00416.81
8.0.160.0040.00416.93
8.0.150.0030.00616.93
8.0.140.0040.00416.87
8.0.130.0030.00313.38
8.0.120.0000.00716.87
8.0.110.0040.00416.87
8.0.100.0040.00416.88
8.0.90.0050.00316.96
8.0.80.0090.00916.80
8.0.70.0080.00016.71
8.0.60.0040.00416.88
8.0.50.0070.00016.76
8.0.30.0070.01716.99
8.0.20.0140.00617.09
8.0.10.0040.00416.95
8.0.00.0140.00416.65
7.4.330.0000.00512.92
7.4.320.0030.00316.45
7.4.300.0000.00616.57
7.4.290.0000.00716.53
7.4.280.0030.00516.42
7.4.270.0070.00016.53
7.4.260.0030.00313.06
7.4.250.0070.00016.54
7.4.240.0030.00316.54
7.4.230.0050.00216.57
7.4.220.0090.00916.53
7.4.210.0090.00516.54
7.4.200.0030.00316.49
7.4.190.0080.00016.71
7.4.160.0000.01516.27
7.4.150.0160.00416.55
7.4.140.0140.00316.56
7.4.130.0100.00716.43
7.4.120.0110.00716.47
7.4.110.0110.00616.55
7.4.100.0030.01416.46
7.4.90.0090.00916.59
7.4.80.0130.00319.39
7.4.70.0030.01316.34
7.4.60.0090.00616.35
7.4.50.0080.00316.61
7.4.40.0040.01116.25
7.4.30.0080.00816.47
7.4.00.0110.00715.17
7.3.330.0020.00513.25
7.3.320.0030.00313.30
7.3.310.0080.00016.25
7.3.300.0000.00816.30
7.3.290.0140.00716.28
7.3.280.0070.01016.24
7.3.270.0150.00616.34
7.3.260.0040.01216.56
7.3.250.0110.00716.42
7.3.240.0120.00616.35
7.3.230.0130.00416.58
7.3.210.0070.01016.51
7.3.200.0070.01516.42
7.3.190.0130.00716.48
7.3.180.0120.00616.50
7.3.170.0150.00316.27
7.3.160.0120.00416.43
7.3.120.0060.00914.72
7.3.10.0080.00516.40
7.3.00.0060.00416.57
7.2.330.0040.01616.38
7.2.320.0030.01516.27
7.2.310.0110.00816.55
7.2.300.0140.00616.56
7.2.290.0070.01116.55
7.2.130.0040.00916.80
7.2.120.0060.00816.57
7.2.110.0040.01116.73
7.2.100.0050.01016.60
7.2.90.0070.00416.67
7.2.80.0080.00816.78
7.2.70.0070.00916.85
7.2.60.0070.00816.68
7.2.50.0070.00716.88
7.2.40.0050.01216.79
7.2.30.0100.00416.67
7.2.20.0030.00916.64
7.2.10.0060.00816.77
7.2.00.0060.00817.63
7.1.250.0080.00615.37
7.1.200.0030.01015.62
7.1.100.0030.01017.94
7.1.70.0000.01716.97
7.1.60.0100.01419.40
7.1.50.0290.00734.66
7.1.00.0030.04022.51
7.0.200.0130.00714.87
7.0.140.0000.08022.01
7.0.60.0070.06719.82
7.0.50.0130.07717.84
7.0.40.0100.08020.21
7.0.30.0230.06320.07
7.0.20.0370.07720.07
7.0.10.0000.09320.27
7.0.00.0030.08720.09
5.6.280.0000.10020.89
5.6.210.0030.04320.47
5.6.200.0070.08018.24
5.6.190.0100.04720.50
5.6.180.0230.05320.41
5.6.170.0130.05020.71
5.6.160.0070.04320.61
5.6.150.0170.06318.14
5.6.140.0070.08718.26
5.6.130.0030.04018.28
5.6.120.0030.05021.02
5.6.110.0230.06321.02
5.6.100.0100.07020.95
5.6.90.0070.04021.08
5.6.80.0000.04320.38
5.6.70.1800.04020.42
5.5.350.0100.08020.33
5.5.340.0070.06318.02
5.5.330.0070.08720.44
5.5.320.0100.07720.20
5.5.310.0330.08020.29
5.5.300.0070.04718.01
5.5.290.0130.04017.96
5.5.280.0030.08020.88
5.5.270.0000.05720.76
5.5.260.0200.05320.79
5.5.250.0130.07020.67
5.5.240.0270.05320.25
5.4.450.4500.04719.29
5.4.440.0000.04319.37
5.4.430.1570.05319.45
5.4.420.4170.03719.25
5.4.410.4300.04019.46
5.4.400.4730.03719.13
5.4.390.3830.04019.13
5.4.380.3700.03318.97
5.4.370.3800.03319.07
5.4.360.3930.03719.00
5.4.350.4400.04019.17
5.4.340.4170.03319.12
5.4.320.4200.04318.99
5.4.310.4370.03719.18
5.4.300.4600.03319.13
5.4.290.4100.03319.24
5.4.280.4370.04318.97
5.4.270.3770.04019.10
5.4.260.3900.03719.23
5.4.250.3570.03719.25
5.4.240.4130.05019.10
5.4.230.4230.03718.98
5.4.220.4100.04319.12
5.4.210.3400.04319.11
5.4.200.3870.03319.05
5.4.190.0070.05018.93
5.4.180.0070.04719.25
5.4.170.3930.04319.14
5.4.160.4100.03319.18
5.4.150.2830.03318.92
5.4.140.2870.03316.42
5.4.130.3270.03016.50
5.4.120.3230.03716.43
5.4.110.3300.03016.45
5.4.100.3570.03316.53
5.4.90.3900.04316.56
5.4.80.2900.04016.39
5.4.70.0030.03316.44
5.4.60.0030.03716.61
5.4.50.3930.02716.30
5.4.40.3900.03316.49
5.4.30.4430.04316.42
5.4.20.4070.04016.19
5.4.10.3300.03016.21
5.4.00.4070.03315.82
5.3.290.4170.03714.54
5.3.280.3930.03714.74
5.3.270.3970.03314.74
5.3.260.3900.04014.49
5.3.250.2570.03014.66
5.3.240.2330.03014.63
5.3.230.2730.04014.66
5.3.220.3770.03714.59
5.3.210.2170.03714.64
5.3.200.2770.03714.61
5.3.190.2930.03314.62
5.3.180.2470.03714.55
5.3.170.0170.04014.73
5.3.160.0030.03714.56
5.3.150.2900.03714.48
5.3.140.3870.03314.56
5.3.130.4200.03714.43
5.3.120.4000.03314.54
5.3.110.4230.03714.55
5.3.100.3800.03314.04
5.3.90.4000.03313.94
5.3.80.4700.03014.04
5.3.70.4600.04014.17
5.3.60.4400.03314.05
5.3.50.4230.04013.90
5.3.40.4570.03313.84
5.3.30.3930.03714.04
5.3.20.3730.04313.74
5.3.10.4200.03713.67
5.3.00.4200.03713.63
5.2.170.3970.03011.29
5.2.160.4200.02711.07
5.2.150.3270.02711.19
5.2.140.2830.03011.03
5.2.130.3270.03011.16
5.2.120.3530.03010.99
5.2.110.3500.02711.16
5.2.100.3500.02711.11
5.2.90.3630.03711.14
5.2.80.3270.03011.11
5.2.70.3570.03711.17
5.2.60.3630.03011.00
5.2.50.4130.02711.18
5.2.40.3030.02711.00
5.2.30.2530.03011.13
5.2.20.2630.02710.95
5.2.10.2900.03310.87
5.2.00.3070.02310.61
5.1.60.3200.02010.05
5.1.50.2900.02310.05
5.1.40.3270.0209.88
5.1.30.3270.03010.35
5.1.20.2570.02710.40
5.1.10.3030.03010.21
5.1.00.3170.02310.13
5.0.50.1630.0208.55
5.0.40.1800.0208.45
5.0.30.1700.0338.24
5.0.20.1730.0208.25
5.0.10.1930.0138.24
5.0.00.1530.0438.14
4.4.90.1270.0135.88
4.4.80.1830.0135.89
4.4.70.1230.0175.85
4.4.60.1370.0105.92
4.4.50.1530.0135.90
4.4.40.1570.0235.88
4.4.30.1300.0135.77
4.4.20.1670.0175.85
4.4.10.1800.0135.89
4.4.00.1870.0275.96
4.3.110.1200.0175.71
4.3.100.1370.0105.77
4.3.90.1570.0175.68
4.3.80.1630.0275.71
4.3.70.1800.0175.75
4.3.60.1700.0135.68
4.3.50.2130.0175.75
4.3.40.1830.0235.68
4.3.30.0900.0174.55
4.3.20.0800.0174.54
4.3.10.0800.0174.44
4.3.00.0830.0134.46

preferences:
58.33 ms | 401 KiB | 5 Q