3v4l.org

run code in 300+ PHP versions simultaneously
<?php @error_reporting(E_WARNING); var_dump(error_reporting()); error_reporting(E_ALL); var_dump(error_reporting()); function f() { try { error_reporting(E_WARNING); throw new Exception; } catch (Exception $e) {} } @f(); var_dump(error_reporting());

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.01318.56
8.3.50.0100.00721.20
8.3.40.0110.00418.72
8.3.30.0040.01120.30
8.3.20.0000.00818.82
8.3.10.0050.00320.92
8.3.00.0040.00422.46
8.2.180.0000.01516.75
8.2.170.0180.00022.96
8.2.160.0070.00720.21
8.2.150.0060.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0070.00021.11
8.2.110.0090.00021.01
8.2.100.0090.00317.69
8.2.90.0060.00319.05
8.2.80.0050.00318.05
8.2.70.0030.00617.50
8.2.60.0000.00817.93
8.2.50.0000.00818.07
8.2.40.0000.00817.93
8.2.30.0000.00819.90
8.2.20.0000.00717.67
8.2.10.0040.00417.61
8.2.00.0000.00817.64
8.1.280.0000.01525.92
8.1.270.0030.00623.99
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00322.52
8.1.230.0060.00620.90
8.1.220.0060.00317.74
8.1.210.0000.00819.05
8.1.200.0060.00317.38
8.1.190.0040.00417.51
8.1.180.0080.00018.10
8.1.170.0050.00318.67
8.1.160.0000.00718.88
8.1.150.0030.00618.51
8.1.140.0040.00417.43
8.1.130.0000.00717.83
8.1.120.0000.00717.37
8.1.110.0040.00417.29
8.1.100.0000.00817.45
8.1.90.0000.00717.42
8.1.80.0000.00717.36
8.1.70.0020.00517.32
8.1.60.0030.00617.55
8.1.50.0040.00417.57
8.1.40.0040.00417.55
8.1.30.0000.00817.63
8.1.20.0060.00317.71
8.1.10.0040.00417.46
8.1.00.0040.00417.54
8.0.300.0050.00319.88
8.0.290.0080.00016.75
8.0.280.0000.00818.47
8.0.270.0030.00517.16
8.0.260.0030.00316.88
8.0.250.0070.00017.07
8.0.240.0000.00816.92
8.0.230.0000.00717.01
8.0.220.0040.00416.96
8.0.210.0070.00017.02
8.0.200.0030.00316.90
8.0.190.0050.00217.08
8.0.180.0000.00716.93
8.0.170.0040.00316.95
8.0.160.0000.00816.79
8.0.150.0000.00716.79
8.0.140.0020.00516.94
8.0.130.0000.00613.34
8.0.120.0080.00016.94
8.0.110.0000.00816.79
8.0.100.0000.00716.89
8.0.90.0040.00416.88
8.0.80.0150.00016.90
8.0.70.0040.00416.86
8.0.60.0040.00417.06
8.0.50.0080.00016.83
8.0.30.0050.01317.04
8.0.20.0120.00617.40
8.0.10.0000.00716.89
8.0.00.0090.00916.70
7.4.330.0000.00516.84
7.4.320.0030.00316.49
7.4.300.0000.00616.57
7.4.290.0050.00216.59
7.4.280.0000.00716.50
7.4.270.0030.00316.41
7.4.260.0050.00013.27
7.4.250.0030.00616.54
7.4.240.0070.00016.53
7.4.230.0000.00716.30
7.4.220.0160.00316.62
7.4.210.0070.01116.57
7.4.200.0070.00016.50
7.4.190.0000.00716.55
7.4.160.0140.00316.40
7.4.150.0140.00417.40
7.4.140.0080.01017.86
7.4.130.0150.00316.58
7.4.120.0090.00816.50
7.4.110.0130.00316.53
7.4.100.0030.01416.59
7.4.90.0100.00616.55
7.4.80.0180.03119.39
7.4.70.0050.01116.58
7.4.60.0160.00416.38
7.4.50.0000.00616.64
7.4.40.0070.01022.77
7.4.30.0130.00316.50
7.4.00.0030.01114.68
7.3.330.0050.00013.36
7.3.320.0030.00313.10
7.3.310.0050.00216.32
7.3.300.0040.00416.27
7.3.290.0080.01216.27
7.3.280.0100.00416.21
7.3.270.0120.00617.40
7.3.260.0130.00618.24
7.3.250.0080.00816.36
7.3.240.0060.00916.34
7.3.230.0160.00016.55
7.3.210.0040.01316.41
7.3.200.0100.01419.39
7.3.190.0070.01516.30
7.3.180.0090.01216.30
7.3.170.0060.00916.34
7.3.160.0040.01916.47
7.3.120.0080.00714.88
7.3.110.0100.00714.54
7.3.100.0090.00314.59
7.3.90.0030.01414.84
7.3.80.0120.00314.79
7.3.70.0030.00714.45
7.3.60.0070.00714.65
7.3.50.0110.00414.89
7.3.40.0100.00014.86
7.3.30.0060.00314.77
7.3.20.0030.01016.48
7.3.10.0080.00816.58
7.3.00.0030.01016.41
7.2.330.0060.01216.39
7.2.320.0090.00916.34
7.2.310.0160.00016.61
7.2.300.0070.01016.43
7.2.290.0120.00616.60
7.2.250.0090.00915.13
7.2.240.0060.01214.78
7.2.230.0060.00615.10
7.2.220.0000.01515.08
7.2.210.0120.00315.20
7.2.200.0030.01014.93
7.2.190.0060.01015.13
7.2.180.0060.01215.04
7.2.170.0060.00915.16
7.2.00.0040.01219.32
7.1.330.0090.00615.71
7.1.320.0040.00815.48
7.1.310.0070.00315.77
7.1.300.0140.00015.56
7.1.290.0120.00315.86
7.1.280.0040.00915.41
7.1.270.0050.00815.75
7.1.260.0110.00415.74
7.1.100.0070.00717.88
7.1.70.0040.00417.28
7.1.60.0070.01719.17
7.1.50.0090.01516.57
7.1.00.0070.07322.52
7.0.200.0040.00716.76
7.0.140.0000.07721.95
7.0.60.0000.04319.91
7.0.50.0200.04017.88
7.0.40.0130.04720.36
7.0.30.0270.08020.22
7.0.20.0330.06720.24
7.0.10.0000.05020.25
7.0.00.0070.05320.07
5.6.280.0070.09020.92
5.6.210.0100.08320.46
5.6.200.0030.04318.29
5.6.190.0070.05720.60
5.6.180.0330.07720.39
5.6.170.0330.05320.59
5.6.160.0030.04320.46
5.6.150.0100.04718.16
5.6.140.0030.05018.18
5.6.130.0100.08718.18
5.6.120.0100.03721.15
5.6.110.0170.07721.11
5.6.100.0130.07320.98
5.6.90.0030.06721.08
5.6.80.0000.05320.48
5.5.350.0330.06720.44
5.5.340.0130.07717.98
5.5.330.0130.08720.13
5.5.320.0100.04720.34
5.5.310.0300.03320.27
5.5.300.0030.08717.95
5.5.290.0100.06318.03
5.5.280.0030.04020.95
5.5.270.0030.04020.63
5.5.260.0130.08020.94
5.5.250.0070.03720.77
5.5.240.0100.07720.07
5.4.450.3700.03719.57
5.4.440.3530.04019.32
5.4.430.3270.04019.16
5.4.420.3100.03719.48
5.4.410.3330.04319.29
5.4.400.3270.04019.00
5.4.390.3070.04019.16
5.4.380.3270.04019.22
5.4.370.3370.03719.22
5.4.360.3400.03319.15
5.4.350.3330.03718.87
5.4.340.3330.03319.07
5.4.320.3370.04018.95
5.4.310.3130.03719.22
5.4.300.3370.03018.87
5.4.290.0630.04718.83
5.4.280.0070.08319.08
5.4.270.0030.07018.83
5.4.260.0970.06319.26
5.4.250.3230.03318.86
5.4.240.3270.03719.14
5.4.230.3500.04319.20
5.4.220.3370.03719.21
5.4.210.3270.04019.24
5.4.200.3200.03319.24
5.4.190.3130.03719.09
5.4.180.3300.04319.13
5.4.170.3470.03019.03
5.4.160.3130.03319.05
5.4.150.3370.03719.30
5.4.140.4270.03016.45
5.4.130.3200.03716.50
5.4.120.3170.03716.40
5.4.110.3700.04016.59
5.4.100.3630.04716.54
5.4.90.2930.03716.16
5.4.80.3300.03316.52
5.4.70.3700.04716.57
5.4.60.3630.04316.31
5.4.50.3400.03316.16
5.4.40.3200.03716.39
5.4.30.3200.03716.55
5.4.20.3170.03316.16
5.4.10.3400.03316.22
5.4.00.3330.03316.11
5.3.290.3630.04014.63
5.3.280.3030.03714.59
5.3.270.3330.04014.50
5.3.260.3030.03714.61
5.3.250.3270.04014.58
5.3.240.3370.03014.83
5.3.230.3330.04014.71
5.3.220.3130.03714.65
5.3.210.3000.04014.65
5.3.200.3330.03714.54
5.3.190.3200.04314.43
5.3.180.3700.03714.54
5.3.170.3370.04014.63
5.3.160.3400.03314.50
5.3.150.3200.04314.57
5.3.140.3230.04014.70
5.3.130.3070.03714.45
5.3.120.3200.03314.63
5.3.110.3100.04314.66
5.3.100.3230.03714.11
5.3.90.3400.03714.14
5.3.80.3370.04014.07
5.3.70.3300.03714.02
5.3.60.3070.03314.01
5.3.50.3130.03714.18
5.3.40.3100.03314.10
5.3.30.3170.03313.81
5.3.20.3070.03313.72
5.3.10.3070.03713.80
5.3.00.3130.03713.61
5.2.170.2570.03311.37
5.2.160.3070.03011.04
5.2.150.2830.03011.20
5.2.140.2670.02711.12
5.2.130.2670.02711.16
5.2.120.3070.03311.03
5.2.110.3130.03311.18
5.2.100.2630.03311.01
5.2.90.2600.03311.03
5.2.80.2830.03311.07
5.2.70.2600.03011.10
5.2.60.3100.03310.99
5.2.50.3230.03310.91
5.2.40.2530.03011.23
5.2.30.2200.02010.88
5.2.20.2370.03010.88
5.2.10.2130.02710.98
5.2.00.2400.03010.86
5.1.60.2370.02710.22
5.1.50.2330.0239.89
5.1.40.2400.0279.89
5.1.30.2000.03010.48
5.1.20.2230.02710.41
5.1.10.2030.02710.15
5.1.00.2370.02010.12
5.0.50.1230.0278.63
5.0.40.1230.0278.48
5.0.30.1430.0308.20
5.0.20.1330.0238.11
5.0.10.1300.0238.40
5.0.00.1270.0378.26
4.4.90.1200.0206.48
4.4.80.1300.0206.48
4.4.70.1070.0176.48
4.4.60.1000.0176.48
4.4.50.1100.0176.48
4.4.40.1270.0236.48
4.4.30.1270.0176.48
4.4.20.1170.0206.48
4.4.10.1300.0136.48
4.4.00.1200.0276.48
4.3.110.1300.0176.48
4.3.100.1000.0176.48
4.3.90.1200.0136.48
4.3.80.1270.0336.48
4.3.70.1270.0206.48
4.3.60.1130.0136.48
4.3.50.1000.0176.48
4.3.40.1200.0276.48
4.3.30.0570.0136.48
4.3.20.0600.0206.48
4.3.10.0570.0206.48
4.3.00.0670.0106.48

preferences:
51.89 ms | 401 KiB | 5 Q