3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ExceptionThatExists extends Exception { // } try { throw new ExceptionThatExists(); } catch (NonExistentException $exception) { var_dump('Caught NonExistentException'); } catch (ExceptionThatExists $exception) { var_dump('Caught ExceptionThatExists'); }

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.0060.00918.56
8.3.50.0190.00318.18
8.3.40.0090.00618.82
8.3.30.0100.00618.57
8.3.20.0000.00720.76
8.3.10.0080.00023.32
8.3.00.0000.00723.71
8.2.180.0080.00816.75
8.2.170.0100.00618.91
8.2.160.0130.00022.96
8.2.150.0080.00025.66
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00020.81
8.2.110.0030.00620.52
8.2.100.0090.00317.91
8.2.90.0080.00018.22
8.2.80.0040.00417.97
8.2.70.0000.00817.79
8.2.60.0050.00318.09
8.2.50.0030.00518.10
8.2.40.0050.00319.35
8.2.30.0000.00719.04
8.2.20.0030.00618.05
8.2.10.0000.00719.22
8.2.00.0040.00417.91
8.1.280.0120.00625.92
8.1.270.0070.00024.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0040.00822.07
8.1.230.0040.00722.05
8.1.220.0060.00317.74
8.1.210.0030.00618.84
8.1.200.0030.00617.35
8.1.190.0080.00017.65
8.1.180.0000.00818.10
8.1.170.0050.00318.56
8.1.160.0070.00018.88
8.1.150.0000.00818.88
8.1.140.0050.00218.93
8.1.130.0080.00020.09
8.1.120.0000.00717.41
8.1.110.0000.00717.32
8.1.100.0000.00817.53
8.1.90.0040.00417.41
8.1.80.0000.00917.48
8.1.70.0030.00717.42
8.1.60.0080.00017.57
8.1.50.0060.00317.40
8.1.40.0030.00617.52
8.1.30.0000.00817.61
8.1.20.0000.00717.66
8.1.10.0000.00817.55
8.1.00.0030.00717.52
8.0.300.0040.00419.82
8.0.290.0040.00416.75
8.0.280.0000.00718.38
8.0.270.0050.00217.18
8.0.260.0070.00018.36
8.0.250.0000.00716.92
8.0.240.0070.00016.82
8.0.230.0000.00716.93
8.0.220.0060.00016.90
8.0.210.0000.00616.84
8.0.200.0030.00316.83
8.0.190.0040.00416.95
8.0.180.0050.00316.82
8.0.170.0040.00416.80
8.0.160.0070.00016.85
8.0.150.0000.00816.89
8.0.140.0040.00416.89
8.0.130.0030.00313.40
8.0.120.0000.00816.86
8.0.110.0040.00416.95
8.0.100.0030.00516.83
8.0.90.0000.00816.93
8.0.80.0020.01316.95
8.0.70.0000.00717.05
8.0.60.0040.00416.96
8.0.50.0000.00816.96
8.0.30.0110.00817.21
8.0.20.0090.00917.40
8.0.10.0040.00417.08
8.0.00.0090.01216.80
7.4.330.0000.00415.55
7.4.320.0030.00316.59
7.4.300.0000.00716.51
7.4.290.0030.00316.59
7.4.280.0000.00816.59
7.4.270.0000.00716.44
7.4.260.0000.00716.58
7.4.250.0000.00716.46
7.4.240.0030.00516.58
7.4.230.0030.00316.29
7.4.220.0080.00016.61
7.4.210.0060.00816.45
7.4.200.0070.00016.60
7.4.160.0090.00716.52
7.4.140.0120.00817.86
7.4.130.0030.01316.45
7.4.120.0050.01416.59
7.4.110.0070.01416.48
7.4.100.0100.00716.61
7.4.90.0060.01116.42
7.4.80.0070.01419.39
7.4.70.0100.01016.46
7.4.60.0070.00716.41
7.4.50.0030.01316.62
7.4.40.0100.00616.62
7.4.00.0120.00514.95
7.3.330.0020.00213.31
7.3.320.0000.00713.13
7.3.310.0000.00716.27
7.3.300.0000.00616.29
7.3.290.0030.00316.31
7.3.280.0030.01216.38
7.3.260.0100.00816.45
7.3.240.0070.01216.50
7.3.230.0030.01416.34
7.3.210.0090.01316.43
7.3.200.0060.01016.58
7.3.190.0030.01316.47
7.3.180.0070.01316.25
7.3.170.0100.01016.39
7.3.160.0090.01216.26
7.3.120.0070.01314.82
7.3.110.0030.01014.74
7.3.100.0040.01114.89
7.3.90.0090.00915.04
7.3.80.0090.00614.50
7.3.70.0060.00614.64
7.3.60.0090.00614.58
7.3.50.0120.00014.64
7.3.40.0090.00314.68
7.3.30.0000.01514.87
7.3.20.0090.00616.75
7.3.10.0370.00815.67
7.3.00.0430.00115.67
7.2.330.0120.00916.67
7.2.320.0040.01816.74
7.2.310.0040.01916.45
7.2.300.0120.00916.30
7.2.290.0090.00816.50
7.2.250.0100.00714.86
7.2.240.0040.01414.73
7.2.230.0030.01315.08
7.2.220.0090.00614.85
7.2.210.0100.00714.85
7.2.200.0070.00414.72
7.2.190.0060.00614.84
7.2.180.0070.00314.77
7.2.170.0080.00814.88
7.2.130.0920.00314.77
7.2.120.0520.01214.94
7.2.110.0680.01014.86
7.2.100.0820.00314.96
7.2.90.1440.00314.96
7.2.80.0600.00715.02
7.2.70.0560.01014.65
7.2.60.0620.00714.77
7.2.50.0790.00714.68
7.2.40.0730.01014.98
7.2.30.1080.01015.06
7.2.20.1130.00714.94
7.2.10.0800.00314.89
7.2.00.0900.00315.14
7.1.330.0090.00315.58
7.1.320.0100.00715.96
7.1.310.0060.01015.79
7.1.300.0060.00615.56
7.1.290.0090.00315.67
7.1.280.0030.01415.43
7.1.270.0040.01115.54
7.1.260.0030.00615.55
7.1.250.0560.00713.96

preferences:
59.25 ms | 400 KiB | 5 Q