3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * @link https://bugs.php.net/bug.php?id=62452 */ $handler = function($exception) { restore_exception_handler(); // boom echo "Exception handled, move along.\n"; }; set_exception_handler((function($exception) { restore_exception_handler(); // boom echo "Exception handled, move along.\n"; })); throw new Exception; // 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.60.0140.00718.42
8.3.50.0100.01021.99
8.3.40.0070.00718.97
8.3.30.0030.01020.29
8.3.20.0000.00818.73
8.3.10.0050.00321.22
8.3.00.0040.00419.56
8.2.180.0110.00416.50
8.2.170.0070.01022.96
8.2.160.0120.00820.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00021.13
8.2.110.0030.00620.89
8.2.100.0040.00718.03
8.2.90.0000.00817.91
8.2.80.0030.00519.14
8.2.70.0070.00317.63
8.2.60.0040.00418.03
8.2.50.0090.00018.07
8.2.40.0000.00818.16
8.2.30.0000.00821.27
8.2.20.0000.00817.75
8.2.10.0030.00517.89
8.2.00.0000.00817.73
8.1.280.0060.00925.92
8.1.270.0080.00023.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00922.03
8.1.230.0080.00321.10
8.1.220.0030.00517.74
8.1.210.0090.00018.77
8.1.200.0030.00717.48
8.1.190.0050.00317.52
8.1.180.0000.00818.10
8.1.170.0060.00318.50
8.1.160.0040.00418.88
8.1.150.0000.00718.61
8.1.140.0040.00417.52
8.1.130.0070.00017.83
8.1.120.0050.00317.36
8.1.110.0030.00517.42
8.1.100.0040.00417.52
8.1.90.0000.00717.45
8.1.80.0000.00717.43
8.1.70.0040.00417.46
8.1.60.0030.00617.47
8.1.50.0040.00417.38
8.1.40.0080.00017.53
8.1.30.0000.00817.61
8.1.20.0060.00317.68
8.1.10.0050.00217.42
8.1.00.0000.00717.53
8.0.300.0050.00220.08
8.0.290.0040.00417.18
8.0.280.0000.00718.41
8.0.270.0030.00316.93
8.0.260.0000.00616.83
8.0.250.0080.00016.83
8.0.240.0030.00616.98
8.0.230.0070.00016.82
8.0.220.0030.00316.80
8.0.210.0030.00316.86
8.0.200.0070.00016.99
8.0.190.0080.00017.00
8.0.180.0040.00416.99
8.0.170.0030.00516.93
8.0.160.0070.00016.97
8.0.150.0040.00416.81
8.0.140.0030.00616.89
8.0.130.0000.00613.44
8.0.120.0040.00416.92
8.0.110.0040.00416.89
8.0.100.0070.00016.84
8.0.90.0030.00416.80
8.0.80.0060.01216.82
8.0.70.0040.00416.82
8.0.60.0040.00416.94
8.0.50.0050.00216.98
8.0.30.0100.00817.06
8.0.20.0120.01617.40
8.0.10.0000.00817.18
8.0.00.0060.01116.83
7.4.330.0050.00016.67
7.4.320.0070.00016.36
7.4.300.0030.00616.56
7.4.290.0040.00416.47
7.4.280.0080.00016.56
7.4.270.0030.00316.50
7.4.260.0000.00613.30
7.4.250.0040.00416.57
7.4.240.0000.00716.55
7.4.230.0070.00016.62
7.4.220.0150.00716.45
7.4.210.0070.00916.60
7.4.200.0040.00416.57
7.4.190.0070.00016.45
7.4.160.0110.00616.70
7.4.150.0130.00317.40
7.4.140.0090.00917.86
7.4.130.0080.01016.56
7.4.120.0090.01016.49
7.4.110.0070.01716.59
7.4.100.0090.01016.57
7.4.90.0120.01216.37
7.4.80.0100.00619.39
7.4.70.0000.01616.67
7.4.60.0070.01016.54
7.4.50.0040.00416.57
7.4.40.0090.00622.77
7.4.30.0120.00616.49
7.4.00.0060.00915.02
7.3.330.0000.00513.16
7.3.320.0030.00313.29
7.3.310.0000.00716.28
7.3.300.0030.00316.18
7.3.290.0030.01016.29
7.3.280.0060.01016.29
7.3.270.0100.01717.40
7.3.260.0130.00618.24
7.3.250.0090.01116.53
7.3.240.0120.01216.28
7.3.230.0170.00716.46
7.3.210.0060.01216.57
7.3.200.0100.01019.39
7.3.190.0150.00716.36
7.3.180.0090.00616.43
7.3.170.0100.00716.36
7.3.160.0090.00916.59
7.3.120.0140.00314.85
7.3.110.0100.00614.54
7.3.100.0060.00614.85
7.3.90.0100.00314.86
7.3.80.0070.00315.16
7.3.70.0060.00614.55
7.3.60.0060.00914.64
7.3.50.0090.00614.66
7.3.40.0080.00414.90
7.3.30.0090.00315.00
7.3.20.0060.00616.73
7.3.10.0050.00616.55
7.3.00.0060.00516.38
7.2.330.0120.00616.73
7.2.320.0110.01216.60
7.2.310.0110.00716.52
7.2.300.0030.02016.62
7.2.290.0060.01016.70
7.2.240.0060.00914.89
7.2.230.0000.00914.59
7.2.220.0000.01315.21
7.2.210.0070.00714.54
7.2.200.0070.01115.01
7.2.190.0030.01315.03
7.2.180.0040.01114.76
7.2.170.0040.00814.97
7.2.160.0040.00814.95
7.2.150.0000.00916.84
7.2.140.0040.01216.79
7.2.130.0030.00916.95
7.2.120.0070.00716.88
7.2.110.0090.00516.87
7.2.100.0060.01016.80
7.2.90.0100.00516.95
7.2.80.0110.00716.86
7.2.70.0070.01316.89
7.2.60.0090.00516.86
7.2.50.0070.01016.63
7.2.40.0110.00516.96
7.2.30.0090.00516.75
7.2.20.0070.00816.90
7.2.10.0010.01016.93
7.2.00.0060.00617.77
7.1.330.0040.00815.59
7.1.320.0000.01515.85
7.1.310.0030.01215.62
7.1.300.0000.01015.66
7.1.290.0000.01515.59
7.1.280.0000.00815.51
7.1.270.0060.00615.68
7.1.260.0130.00315.48
7.1.250.0080.00315.53
7.1.200.0060.00615.69
7.1.70.0000.00817.26
7.1.60.0030.00917.22
7.1.50.0040.00716.91
7.1.40.0030.01216.91
7.1.30.0050.00516.91
7.1.20.0070.00316.91
7.1.10.0000.00816.91
7.1.00.0000.00916.91
7.0.200.0030.00716.91
7.0.190.0070.00316.91
7.0.180.0060.00616.91
7.0.170.0000.00816.91
7.0.160.0000.00716.91
7.0.150.0000.01216.91
7.0.140.0050.00516.91
7.0.130.0020.00516.91
7.0.120.0000.00816.91
7.0.110.0040.00416.91
7.0.100.0040.00416.91
7.0.90.0070.00716.91
7.0.80.0030.00516.91
7.0.70.0000.01416.91
7.0.60.0000.00916.91
7.0.50.0040.00416.91
7.0.40.0070.00016.91
7.0.30.0050.00316.91
7.0.20.0000.00716.91
7.0.10.0040.00416.91
7.0.00.0060.00916.91
5.6.300.0070.06320.83
5.6.290.0030.05220.88
5.6.280.0000.04421.07
5.6.270.0000.04420.79
5.6.260.0070.03620.82
5.6.250.0040.04621.04
5.6.240.0070.05520.85
5.6.230.0060.03820.86
5.6.220.0030.04420.82
5.6.210.0030.06621.09
5.6.200.0330.03920.83
5.6.190.0030.04120.96
5.6.180.0000.04621.00
5.6.170.0100.04220.84
5.6.160.0030.04320.94
5.6.150.0000.05220.83
5.6.140.0030.04320.99
5.6.130.0000.04520.80
5.6.120.0030.04021.03
5.6.110.0060.04521.02
5.6.100.0070.03920.85
5.6.90.0000.04420.84
5.6.80.0030.06620.23
5.6.70.0030.03920.20
5.6.60.0060.03520.41
5.6.50.0030.03920.32
5.6.40.0000.04120.30
5.6.30.0030.03820.33
5.6.20.0030.05420.19
5.6.10.0100.05620.28
5.6.00.0000.04420.09
5.5.380.0000.04417.41
5.5.370.0070.05417.54
5.5.360.0030.04017.66
5.5.350.0030.05117.57
5.5.340.0000.04518.01
5.5.330.0060.03918.09
5.5.320.0100.03317.73
5.5.310.0000.04818.13
5.5.300.0030.04617.70
5.5.290.0000.04318.06
5.5.280.0030.03918.04
5.5.270.0000.04418.08
5.5.260.0070.04117.99
5.5.250.0000.04117.85
5.5.240.0070.05017.40
5.5.230.0100.03317.38
5.5.220.0040.03917.55
5.5.210.0030.03617.42
5.5.200.0000.03917.39
5.5.190.0000.06217.45
5.5.180.0000.04417.45
5.5.160.0100.03317.39
5.5.150.0100.04917.48
5.5.140.0030.04217.05
5.5.130.0030.06017.03
5.5.120.0040.03917.38
5.5.110.0000.04117.40
5.5.100.0030.05017.14
5.5.90.0000.03917.28
5.5.80.0060.03517.33
5.5.70.0000.03917.38
5.5.60.0070.03417.34
5.5.50.0000.04017.27
5.5.40.0070.03317.38
5.5.30.0030.03517.32
5.5.20.0000.04416.98
5.5.10.0030.04017.32
5.5.00.0070.03817.07
5.4.450.0130.04619.54
5.4.440.0030.04519.24
5.4.430.0000.04319.30
5.4.420.0030.03919.53
5.4.410.0070.03619.28
5.4.400.0000.04019.08
5.4.390.0000.04119.05
5.4.380.0070.03618.98
5.4.370.0030.03919.11
5.4.360.0030.06119.16
5.4.350.0030.05219.11
5.4.340.0100.03219.00
5.4.320.0030.03819.07
5.4.310.0000.03919.07
5.4.300.0070.04719.16
5.4.290.0030.03919.23
5.4.280.0000.04219.08
5.4.270.0000.04318.97
5.4.260.0000.04318.98
5.4.250.0070.03319.07
5.4.240.0070.03219.11
5.4.230.0000.04019.11
5.4.220.0060.03819.06
5.4.210.0100.05519.07
5.4.200.0000.04319.06
5.4.190.0030.03918.94
5.4.180.0070.03619.05
5.4.170.0040.03519.13
5.4.160.0030.03819.05
5.4.150.0030.04018.93
5.4.140.0030.03816.91
5.4.130.0000.03816.91
5.4.120.0060.03416.91
5.4.110.0070.06816.91
5.4.100.0030.06016.91
5.4.90.0000.05516.91
5.4.80.0000.03616.91
5.4.70.0030.04816.91
5.4.60.0040.03616.91
5.4.50.0000.03716.91
5.4.40.0030.03416.91
5.4.30.0030.03316.91
5.4.20.0000.03616.91
5.4.10.0000.04416.91
5.4.00.0030.03616.91
5.3.290.0000.04016.91
5.3.280.0070.03716.91
5.3.270.0030.03916.91
5.3.260.0000.04016.91
5.3.250.0000.04216.91
5.3.240.0000.03716.91
5.3.230.0070.03716.91
5.3.220.0000.04116.91
5.3.210.0000.08016.91
5.3.200.0000.06416.91
5.3.190.0100.03216.91
5.3.180.0000.04816.91
5.3.170.0000.04416.91
5.3.160.0030.03616.91
5.3.150.0000.03816.91
5.3.140.0030.03516.91
5.3.130.0000.03916.91
5.3.120.0070.03216.91
5.3.110.0060.03516.91
5.3.100.0000.04716.91
5.3.90.0030.03316.91
5.3.80.0070.03116.91
5.3.70.0000.04016.91
5.3.60.0030.03716.91
5.3.50.0030.03516.91
5.3.40.0000.03916.91
5.3.30.0000.03716.91
5.3.20.0040.03516.91
5.3.10.0000.03616.91
5.3.00.0030.03616.91
5.2.170.0070.02716.91
5.2.160.0000.03216.91
5.2.150.0070.02516.91
5.2.140.0030.02816.91
5.2.130.0000.03316.91
5.2.120.0030.03116.91
5.2.110.0000.03016.91
5.2.100.0000.02916.91
5.2.90.0000.04216.91
5.2.80.0030.03316.91
5.2.70.0000.03116.91
5.2.60.0000.03416.91
5.2.50.0130.02716.91
5.2.40.0000.03116.91
5.2.30.0000.03016.91
5.2.20.0030.02716.91
5.2.10.0030.02616.91
5.2.00.0030.02616.91
5.1.60.0040.02816.91
5.1.50.0030.02416.91
5.1.40.0000.02516.91
5.1.30.0100.03016.91
5.1.20.0000.03216.91
5.1.10.0000.02716.91
5.1.00.0030.02916.91
5.0.50.0030.01916.91
5.0.40.0030.01916.91
5.0.30.0000.03616.91
5.0.20.0030.01716.91
5.0.10.0000.02216.91
5.0.00.0030.03116.91
4.4.90.0000.01716.91
4.4.80.0000.01616.91
4.4.70.0000.01816.91
4.4.60.0060.01116.91
4.4.50.0000.01716.91
4.4.40.0030.02216.91
4.4.30.0060.01516.91
4.4.20.0000.01616.91
4.4.10.0000.01716.91
4.4.00.0000.02616.91
4.3.110.0000.01816.91
4.3.100.0100.00616.91
4.3.90.0000.02016.91
4.3.80.0000.02716.91
4.3.70.0000.01716.91
4.3.60.0030.01716.91
4.3.50.0130.01016.91
4.3.40.0000.02716.91
4.3.30.0000.01716.91
4.3.20.0030.01916.91
4.3.10.0030.01316.91
4.3.00.0000.01616.91

preferences:
41.41 ms | 401 KiB | 5 Q