3v4l.org

run code in 300+ PHP versions simultaneously
<?php function x() { try { throw new Exception('this will never be caught, but also never be seen'); } finally { return 1; } } try { var_dump(x()); } catch (Throwable $e) { echo "we're not going to catch it"; echo $e; }

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.0000.01818.20
8.3.50.0140.00517.18
8.3.40.0040.01418.64
8.3.30.0170.00318.71
8.3.20.0070.00020.75
8.3.10.0040.00419.14
8.3.00.0000.00721.91
8.2.180.0210.00025.92
8.2.170.0090.00922.96
8.2.160.0100.00320.53
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00720.88
8.2.110.0000.01120.94
8.2.100.0120.00017.78
8.2.90.0040.00417.84
8.2.80.0040.00418.92
8.2.70.0090.00017.50
8.2.60.0030.00617.80
8.2.50.0000.00818.07
8.2.40.0080.00018.16
8.2.30.0040.00417.98
8.2.20.0000.00718.13
8.2.10.0040.00418.92
8.2.00.0070.00019.42
8.1.280.0110.00425.92
8.1.270.0040.00422.04
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0080.00022.21
8.1.230.0120.00020.93
8.1.220.0040.00417.74
8.1.210.0000.00818.79
8.1.200.0030.00617.36
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0030.00518.64
8.1.160.0000.00718.82
8.1.150.0050.00318.93
8.1.140.0040.00418.87
8.1.130.0000.00820.21
8.1.120.0000.00717.29
8.1.110.0080.00017.38
8.1.100.0050.00317.32
8.1.90.0000.00817.39
8.1.80.0050.00317.36
8.1.70.0000.00717.34
8.1.60.0040.00417.52
8.1.50.0080.00417.48
8.1.40.0030.00617.41
8.1.30.0030.00617.59
8.1.20.0030.00717.60
8.1.10.0040.00417.52
8.1.00.0040.00417.33
8.0.300.0000.00720.04
8.0.290.0000.00716.75
8.0.280.0030.00318.26
8.0.270.0040.00417.11
8.0.260.0040.00418.31
8.0.250.0070.00016.94
8.0.240.0000.00816.96
8.0.230.0030.00516.91
8.0.220.0040.00416.95
8.0.210.0000.00716.85
8.0.200.0050.00216.88
8.0.190.0000.00716.86
8.0.180.0000.00716.77
8.0.170.0040.00416.91
8.0.160.0070.00016.89
8.0.150.0030.00716.94
8.0.140.0070.00316.82
8.0.130.0030.00313.36
8.0.120.0020.00516.83
8.0.110.0070.00016.88
8.0.100.0030.00516.95
8.0.90.0040.00417.00
8.0.80.0050.01016.98
8.0.70.0040.00416.95
8.0.60.0000.00916.92
8.0.50.0040.00416.96
8.0.30.0120.00817.07
8.0.20.0100.01116.99
8.0.10.0030.00316.97
8.0.00.0100.00716.82
7.4.330.0000.00515.55
7.4.320.0060.00016.45
7.4.300.0000.00616.54
7.4.290.0040.00416.44
7.4.280.0030.00516.54
7.4.270.0000.00716.42
7.4.260.0000.00716.54
7.4.250.0030.00316.54
7.4.240.0030.00316.54
7.4.230.0040.00416.53
7.4.220.0040.00416.35
7.4.210.0070.00816.48
7.4.200.0030.00616.60
7.4.160.0090.00916.57
7.4.140.0120.00617.86
7.4.130.0080.01116.49
7.4.120.0150.00616.34
7.4.110.0110.00716.51
7.4.100.0100.00716.36
7.4.90.0100.01016.37
7.4.80.0090.01519.39
7.4.70.0070.01016.59
7.4.60.0060.01516.31
7.4.50.0040.01416.52
7.4.40.0120.00616.56
7.4.10.0090.00715.02
7.4.00.0080.00914.78
7.3.330.0000.00513.37
7.3.320.0000.00613.16
7.3.310.0030.00316.32
7.3.300.0030.00316.18
7.3.290.0070.00716.32
7.3.280.0120.00816.29
7.3.260.0090.00716.53
7.3.230.0120.00416.29
7.3.210.0000.02016.43
7.3.200.0080.00816.44
7.3.190.0090.00816.49
7.3.180.0030.01316.47
7.3.170.0130.00316.45
7.3.160.0130.01116.26
7.3.130.0070.01014.66
7.3.120.0070.01014.89
7.3.110.0090.00614.65
7.3.100.0030.01114.68
7.3.90.0100.00414.75
7.3.80.0070.00614.86
7.3.70.0060.00514.66
7.3.60.0090.00414.72
7.3.50.0050.01014.70
7.3.40.0050.01014.91
7.3.30.0060.01114.75
7.3.20.0090.00516.61
7.3.10.0090.00816.65
7.3.00.0040.00916.55
7.2.330.0070.01116.60
7.2.320.0160.00016.37
7.2.310.0070.01016.43
7.2.300.0090.01016.39
7.2.290.0060.01316.60
7.2.260.0050.01414.91
7.2.250.0080.01114.88
7.2.240.0110.00514.97
7.2.230.0030.01114.91
7.2.220.0030.01015.01
7.2.210.0040.00914.93
7.2.200.0070.00714.94
7.2.190.0060.00914.93
7.2.180.0030.01114.81
7.2.170.0090.00614.88
7.2.160.0040.01014.81
7.2.150.0080.00616.71
7.2.140.0050.00916.74
7.2.130.0070.00816.78
7.2.120.0040.00716.69
7.2.110.0060.00716.76
7.2.100.0040.01016.78
7.2.90.0100.00616.80
7.2.80.0080.00716.88
7.2.70.0070.00616.82
7.2.60.0080.00616.65
7.2.50.0070.00616.75
7.2.40.0070.00716.89
7.2.30.0040.01016.86
7.2.20.0080.00616.87
7.2.10.0080.00516.78
7.2.00.0040.01116.85
7.1.330.0050.00815.63
7.1.320.0050.00815.51
7.1.310.0040.00915.67
7.1.300.0010.01515.63
7.1.290.0050.00915.71
7.1.280.0050.01015.65
7.1.270.0040.01015.76
7.1.260.0060.00915.66
7.1.250.0050.00815.69
7.1.240.0030.00715.65
7.1.230.0050.00715.65
7.1.220.0040.00415.74
7.1.210.0080.00315.63
7.1.200.0050.00815.64
7.1.190.0050.00815.61
7.1.180.0000.01415.72
7.1.170.0100.00315.63
7.1.160.0070.00415.55
7.1.150.0040.00815.74
7.1.140.0060.00815.63
7.1.130.0030.00915.71
7.1.120.0030.00715.63
7.1.110.0040.00915.80
7.1.100.0100.00415.63
7.1.90.0050.01015.74
7.1.80.0100.00715.60
7.1.70.0070.00715.63
7.1.60.0030.01215.77
7.1.50.0070.01015.62
7.1.40.0030.01215.70
7.1.30.0100.00415.61
7.1.20.0090.00315.66
7.1.10.0070.00615.75
7.1.00.0020.01115.59

preferences:
62.99 ms | 401 KiB | 5 Q