3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * @link https://bugs.php.net/bug.php?id=62452 */ set_exception_handler($handler = function($exception) { restore_exception_handler(); // boom echo "Exception handled, move along.\n"; }); throw new Exception; // gone now: fatal error: cannot destroy active lambda

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.40.0090.00618.99
8.3.30.0110.00318.93
8.3.20.0040.00418.96
8.3.10.0080.00021.01
8.3.00.0040.00421.82
8.2.170.0040.01122.96
8.2.160.0130.00320.30
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00721.00
8.2.110.0000.00920.41
8.2.100.0090.00317.78
8.2.90.0040.00719.09
8.2.80.0000.01217.97
8.2.70.0060.00617.75
8.2.60.0080.00017.93
8.2.50.0050.00318.10
8.2.40.0070.00018.16
8.2.30.0000.00821.10
8.2.20.0030.00517.77
8.2.10.0030.00617.75
8.2.00.0040.00417.59
8.1.270.0030.00623.99
8.1.260.0080.00626.35
8.1.250.0040.00428.09
8.1.240.0050.00523.84
8.1.230.0120.00017.77
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.36
8.1.190.0040.00417.36
8.1.180.0080.00018.10
8.1.170.0040.00418.48
8.1.160.0040.00418.89
8.1.150.0000.00718.50
8.1.140.0000.00817.50
8.1.130.0000.00817.94
8.1.120.0000.00817.45
8.1.110.0040.00417.46
8.1.100.0070.00017.49
8.1.90.0000.00817.46
8.1.80.0040.00417.52
8.1.70.0070.00017.41
8.1.60.0100.00017.64
8.1.50.0000.00817.38
8.1.40.0040.00417.41
8.1.30.0080.00017.68
8.1.20.0030.00617.52
8.1.10.0070.00017.51
8.1.00.0050.00217.50
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0030.00318.32
8.0.270.0070.00017.30
8.0.260.0030.00316.87
8.0.250.0030.00516.88
8.0.240.0060.00317.00
8.0.230.0000.00716.95
8.0.220.0070.00016.73
8.0.210.0030.00316.80
8.0.200.0060.00016.90
8.0.190.0040.00416.91
8.0.180.0000.00716.98
8.0.170.0030.00517.03
8.0.160.0000.00716.95
8.0.150.0000.00716.79
8.0.140.0120.00016.93
8.0.130.0000.00513.39
8.0.120.0080.00016.87
8.0.110.0080.00017.02
8.0.100.0030.00316.86
8.0.90.0030.00516.85
8.0.80.0060.00916.93
8.0.70.0050.00316.83
8.0.60.0050.00216.94
8.0.50.0000.00816.92
8.0.30.0090.00917.21
8.0.20.0090.01117.40
8.0.10.0040.00416.88
8.0.00.0070.01116.72
7.4.330.0000.00516.77
7.4.320.0030.00316.69
7.4.300.0040.00416.49
7.4.290.0030.00316.46
7.4.280.0040.00416.64
7.4.270.0030.00316.50
7.4.260.0050.00213.32
7.4.250.0070.00016.59
7.4.240.0080.00016.50
7.4.230.0030.00316.58
7.4.220.0100.01716.52
7.4.210.0070.00716.51
7.4.200.0070.00016.59
7.4.190.0000.00716.54
7.4.160.0060.01216.46
7.4.150.0120.00617.40
7.4.140.0170.00817.86
7.4.130.0080.00916.55
7.4.120.0100.00716.66
7.4.110.0170.00016.46
7.4.100.0040.01416.51
7.4.90.0090.00916.60
7.4.80.0090.01319.39
7.4.70.0150.00616.60
7.4.60.0100.00716.52
7.4.50.0040.00416.50
7.4.40.0000.01622.77
7.4.30.0090.00616.63
7.4.00.0030.00615.08
7.3.330.0030.00313.35
7.3.320.0000.00513.30
7.3.310.0030.00316.41
7.3.300.0070.00016.17
7.3.290.0040.01116.27
7.3.280.0060.01116.28
7.3.270.0090.00917.40
7.3.260.0120.00718.24
7.3.250.0080.01016.41
7.3.240.0140.00316.59
7.3.230.0100.00716.39
7.3.210.0070.01016.31
7.3.200.0080.00819.39
7.3.190.0110.00616.30
7.3.180.0120.00316.27
7.3.170.0080.00816.28
7.3.160.0040.01116.37
7.3.120.0030.01414.98
7.2.330.0120.00916.68
7.2.320.0070.01316.67
7.2.310.0160.00616.26
7.2.300.0150.00316.24
7.2.290.0100.00616.70
7.2.60.0030.00716.76
7.1.200.0040.00715.66
7.1.70.0140.00317.12
7.1.60.0130.01319.40
7.1.50.0140.01016.80
7.1.00.0030.03322.31
7.0.200.0030.00616.71
7.0.140.0070.06722.09
7.0.60.0100.07319.95
7.0.50.0070.04317.87
7.0.40.0070.04020.11
7.0.30.0600.04720.09
7.0.20.0230.07020.08
7.0.10.0200.05020.20
7.0.00.0170.07320.12
5.6.280.0000.07321.13
5.6.210.0070.04020.71
5.6.200.0070.05318.16
5.6.190.0030.04720.47
5.6.180.0170.04320.33
5.6.170.0270.07020.55
5.6.160.0100.08020.50
5.6.150.0030.04318.17
5.6.140.0030.05718.19
5.6.130.0030.05318.29
5.6.120.0130.05021.14
5.6.110.0030.04020.98
5.6.100.0030.08321.00
5.6.90.0070.07020.96
5.6.80.0070.03720.29
5.6.70.0300.06320.35
5.5.350.0170.04320.41
5.5.340.0100.05017.94
5.5.330.0030.09020.22
5.5.320.0270.07720.41
5.5.310.0230.08020.36
5.5.300.0130.07717.95
5.5.290.0070.07318.02
5.5.280.0130.07720.77
5.5.270.0030.07020.80
5.5.260.0030.05020.78
5.5.250.0270.07020.69
5.5.240.0000.08720.13
5.4.450.0200.05319.39
5.4.440.0230.08019.63
5.4.430.0270.08019.55
5.4.420.0370.06319.31
5.4.410.0430.05719.19
5.4.400.0300.06319.14
5.4.390.0200.07719.22
5.4.380.0270.08318.87
5.4.370.0270.03019.05
5.4.360.0200.04019.15
5.4.350.0170.03719.00
5.4.340.0270.03319.14
5.4.320.0200.04019.13
5.4.310.0200.03318.98
5.4.300.0130.04019.16
5.4.290.0230.03718.87
5.4.280.0100.04719.19
5.4.270.0130.04019.16
5.4.260.0200.03719.19
5.4.250.0130.03719.19
5.4.240.0170.03318.86
5.4.230.0230.03019.21
5.4.220.0100.04318.96
5.4.210.0100.03718.85
5.4.200.0100.03719.08
5.4.190.0130.03718.98
5.4.180.0130.03719.23
5.4.170.0130.03719.21
5.4.160.0170.03718.83
5.4.150.0170.04319.04
5.4.140.0170.04716.52
5.4.130.0270.07016.41
5.4.120.0200.03316.49
5.4.110.0300.06716.26
5.4.100.0300.06316.54
5.4.90.0300.07016.37
5.4.80.0230.05716.53
5.4.70.0170.07016.39
5.4.60.0270.05316.38
5.4.50.0170.07016.48
5.4.40.0230.06016.51
5.4.30.0200.07016.38
5.4.20.0030.07316.54
5.4.10.0070.07016.32
5.4.00.0070.07015.98
5.3.290.0230.03314.81
5.3.280.0230.03314.59
5.3.270.0130.03714.61
5.3.260.0130.03714.68
5.3.250.0170.04714.65
5.3.240.0500.04714.62
5.3.230.0370.06014.57
5.3.220.0300.03014.61
5.3.210.0300.03014.64
5.3.200.0200.05314.68
5.3.190.0200.05014.46
5.3.180.0270.06014.68
5.3.170.0230.04714.61
5.3.160.0400.05014.49
5.3.150.0200.04014.48
5.3.140.0200.06714.64
5.3.130.0130.07314.54
5.3.120.0030.05014.55
5.3.110.0030.06714.53
5.3.100.0100.07314.20
5.3.90.0100.06314.13
5.3.80.0030.06313.93
5.3.70.0100.06313.92
5.3.60.0030.06713.98
5.3.50.0070.06314.17
5.3.40.0030.06314.03
5.3.30.0070.07314.02
5.3.20.0230.05313.59
5.3.10.0000.07713.56
5.3.00.0000.07013.56
5.2.170.0030.05011.96
5.2.160.0100.05311.96
5.2.150.0030.03711.96
5.2.140.0000.06311.96
5.2.130.0000.05711.96
5.2.120.0030.05311.96
5.2.110.0070.05311.96
5.2.100.0030.04011.96
5.2.90.0000.03711.96
5.2.80.0000.06011.96
5.2.70.0030.05311.96
5.2.60.0030.05011.96
5.2.50.0030.06011.96
5.2.40.0000.04711.96
5.2.30.0130.05311.96
5.2.20.0000.06311.96
5.2.10.0070.03711.96
5.2.00.0000.06711.96
5.1.60.0000.05011.96
5.1.50.0100.03311.96
5.1.40.0070.04011.96
5.1.30.0030.05011.96
5.1.20.0000.05011.96
5.1.10.0030.04311.96
5.1.00.0070.03011.96
5.0.50.0030.04311.96
5.0.40.0100.03711.96
5.0.30.0030.06311.96
5.0.20.0030.03711.96
5.0.10.0070.03311.96
5.0.00.0000.04711.96
4.4.90.0030.03311.96
4.4.80.0000.02311.96
4.4.70.0030.02711.96
4.4.60.0030.02711.96
4.4.50.0000.03711.96
4.4.40.0000.05311.96
4.4.30.0070.02311.96
4.4.20.0030.03711.96
4.4.10.0030.03711.96
4.4.00.0000.04711.96
4.3.110.0000.03011.96
4.3.100.0000.03011.96
4.3.90.0100.02711.96
4.3.80.0030.04011.96
4.3.70.0000.03011.96
4.3.60.0000.03711.96
4.3.50.0030.02711.96
4.3.40.0000.05011.96
4.3.30.0000.03711.96
4.3.20.0030.02311.96
4.3.10.0030.03711.96
4.3.00.0030.03311.96

preferences:
37.62 ms | 400 KiB | 5 Q