3v4l.org

run code in 300+ PHP versions simultaneously
<?php class NotFoundException extends \Exception {} class SomethingNotFoundException extends NotFoundException {} class SomethingParticularNotFoundException extends SomethingNotFoundException {} try { throw new SomethingParticularNotFoundException("Well done!"); } catch (NotFoundException $e) { echo $e->getMessage(); }

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.0090.01216.73
8.3.50.0110.01116.48
8.3.40.0140.00018.93
8.3.30.0070.01118.82
8.3.20.0040.00420.20
8.3.10.0040.00421.69
8.3.00.0040.01120.38
8.2.180.0090.00618.38
8.2.170.0070.00722.96
8.2.160.0070.00720.34
8.2.150.0030.01024.18
8.2.140.0000.01024.66
8.2.130.0000.00821.12
8.2.120.0040.00426.35
8.2.110.0040.00422.13
8.2.100.0120.00417.72
8.2.90.0040.00419.09
8.2.80.0080.00017.97
8.2.70.0040.00417.63
8.2.60.0040.00417.93
8.2.50.0030.00618.10
8.2.40.0030.00520.37
8.2.30.0000.01020.96
8.2.20.0080.00018.17
8.2.10.0000.00818.13
8.2.00.0040.00418.04
8.1.280.0090.00925.92
8.1.270.0050.00222.11
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0030.00624.02
8.1.230.0080.00417.83
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00917.48
8.1.190.0000.00817.35
8.1.180.0060.00318.10
8.1.170.0080.00020.25
8.1.160.0000.00718.98
8.1.150.0040.00418.98
8.1.140.0080.00419.54
8.1.130.0000.00718.94
8.1.120.0050.00317.46
8.1.110.0050.00317.47
8.1.100.0070.00017.41
8.1.90.0040.00417.47
8.1.80.0070.00317.38
8.1.70.0030.00317.36
8.1.60.0030.00617.42
8.1.50.0000.00817.46
8.1.40.0080.00017.50
8.1.30.0080.00017.55
8.1.20.0040.00417.55
8.1.10.0030.00617.48
8.1.00.0040.00417.40
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0070.00018.32
8.0.270.0000.00717.26
8.0.260.0030.00316.79
8.0.250.0000.00717.03
8.0.240.0050.00317.01
8.0.230.0030.00316.85
8.0.220.0060.00316.79
8.0.210.0070.00016.88
8.0.200.0030.00316.93
8.0.190.0050.00316.93
8.0.180.0000.00816.83
8.0.170.0040.00416.88
8.0.160.0000.00716.95
8.0.150.0000.00816.79
8.0.140.0040.00416.89
8.0.130.0000.00713.36
8.0.120.0040.00416.94
8.0.110.0000.00717.05
8.0.100.0000.00717.01
8.0.90.0000.00816.86
8.0.80.0140.00316.92
8.0.70.0070.00016.85
8.0.60.0040.00416.95
8.0.50.0000.00716.87
8.0.30.0080.00816.86
8.0.20.0130.00617.40
8.0.10.0080.00017.01
8.0.00.0030.01316.73
7.4.330.0000.00615.55
7.4.320.0000.00616.53
7.4.300.0000.00616.51
7.4.290.0070.00016.63
7.4.280.0030.00516.60
7.4.270.0030.00316.43
7.4.260.0030.00516.59
7.4.250.0030.00516.60
7.4.240.0040.00416.64
7.4.230.0030.00316.49
7.4.220.0060.01216.61
7.4.210.0020.01316.57
7.4.200.0070.00016.60
7.4.160.0100.00716.56
7.4.150.0080.00917.40
7.4.140.0100.00717.86
7.4.130.0070.01116.41
7.4.120.0100.00916.61
7.4.110.0170.00016.44
7.4.100.0130.00316.50
7.4.90.0140.00616.67
7.4.80.0060.01019.39
7.4.70.0070.01016.44
7.4.60.0060.01216.55
7.4.50.0030.01016.33
7.4.40.0120.00316.56
7.4.30.0030.01416.59
7.4.10.0070.01315.18
7.4.00.0050.01114.95
7.3.330.0030.00313.13
7.3.320.0000.00613.08
7.3.310.0070.00016.18
7.3.300.0000.00716.29
7.3.290.0030.00316.26
7.3.280.0090.00816.28
7.3.270.0070.01417.40
7.3.260.0050.01216.43
7.3.250.0090.01016.38
7.3.240.0090.01116.45
7.3.230.0070.01316.44
7.3.210.0100.00716.43
7.3.200.0070.01016.68
7.3.190.0120.00616.31
7.3.180.0120.00816.45
7.3.170.0170.00016.60
7.3.160.0130.00916.43
7.3.130.0040.01114.80
7.3.120.0100.00714.78
7.3.110.0030.01014.64
7.3.100.0120.00314.82
7.3.90.0070.00714.99
7.3.80.0070.00314.58
7.3.70.0040.00415.00
7.3.60.0090.00314.83
7.3.50.0000.01214.65
7.3.40.0030.00614.89
7.3.30.0060.00614.66
7.3.20.0040.00416.58
7.3.10.0070.00616.59
7.3.00.0070.00516.62
7.2.330.0060.01516.66
7.2.320.0060.01616.69
7.2.310.0070.01016.64
7.2.300.0130.00416.68
7.2.290.0070.01116.28
7.2.260.0130.00715.14
7.2.250.0110.00714.92
7.2.240.0030.01215.10
7.2.230.0000.01615.06
7.2.220.0100.00315.16
7.2.210.0070.00715.18
7.2.200.0000.01414.91
7.2.190.0030.01015.01
7.2.180.0030.00614.91
7.2.170.0100.00015.05
7.2.160.0000.00914.82
7.2.150.0030.01016.97
7.2.140.0040.01116.96
7.2.130.0090.00716.78
7.2.120.0050.00716.77
7.2.110.0120.00416.78
7.2.100.0100.00516.75
7.2.90.0040.01216.94
7.2.80.0030.00816.72
7.2.70.0080.00216.83
7.2.60.0060.00816.78
7.2.50.0070.00616.77
7.2.40.0090.00816.92
7.2.30.0050.01116.88
7.2.20.0050.00816.88
7.2.10.0060.00716.84
7.2.00.0060.01017.46
7.1.330.0060.00615.86
7.1.320.0090.00615.58
7.1.310.0090.00615.68
7.1.300.0070.00715.88
7.1.290.0080.00315.75
7.1.280.0080.00515.45
7.1.270.0040.01115.69
7.1.260.0060.00315.87
7.1.250.0060.00715.63
7.1.240.0020.01315.79
7.1.230.0080.00515.73
7.1.220.0100.00415.66
7.1.210.0060.00915.63
7.1.200.0070.00515.60
7.1.190.0060.00515.77
7.1.180.0080.00515.62
7.1.170.0040.01115.72
7.1.160.0030.00915.59
7.1.150.0040.00515.66
7.1.140.0030.01115.64
7.1.130.0070.00415.73
7.1.120.0020.00915.64
7.1.110.0070.00815.57
7.1.100.0080.00416.59
7.1.90.0080.00615.63
7.1.80.0110.00515.82
7.1.70.0030.01116.12
7.1.60.0170.00922.15
7.1.50.0160.01022.03
7.1.40.0160.00821.83
7.1.30.0150.00821.86
7.1.20.0150.01221.93
7.1.10.0060.00715.92
7.1.00.0090.00615.91
7.0.330.0020.00915.23
7.0.320.0060.01015.24
7.0.310.0010.01015.31
7.0.300.0060.00715.39
7.0.290.0040.00815.15
7.0.280.0050.00815.35
7.0.270.0100.00315.42
7.0.260.0120.00115.30
7.0.250.0050.00715.48
7.0.240.0070.00715.42
7.0.230.0090.00515.24
7.0.220.0070.00415.17
7.0.210.0000.01015.34
7.0.200.0060.00815.56
7.0.190.0060.01015.68
7.0.180.0090.00515.71
7.0.170.0090.00715.49
7.0.160.0040.00915.55
7.0.150.0070.00615.59
7.0.140.0060.00715.57
7.0.130.0100.00315.83
7.0.120.0030.01115.67
7.0.110.0070.00715.54
7.0.100.0060.00815.63
7.0.90.0050.00915.53
7.0.80.0100.00515.62
7.0.70.0070.00515.68
7.0.60.0040.00715.67
7.0.50.0030.00915.68
7.0.40.0040.01014.27
7.0.30.0060.00914.40
7.0.20.0060.00814.10
7.0.10.0090.00614.43
7.0.00.0050.00914.23
5.6.400.0070.00414.46
5.6.390.0110.00414.45
5.6.380.0060.00714.05
5.6.370.0000.01414.51
5.6.360.0120.00314.27
5.6.350.0040.01113.85
5.6.340.0090.00314.33
5.6.330.0040.01114.13
5.6.320.0030.01414.37
5.6.310.0100.00314.30
5.6.300.0030.01014.20
5.6.290.0030.01014.54
5.6.280.0140.00014.34
5.6.270.0040.01214.34
5.6.260.0000.01114.07
5.6.250.0050.00814.42
5.6.240.0030.00714.27
5.6.230.0000.00914.48
5.6.220.0070.00714.12
5.6.210.0040.01113.93
5.6.200.0070.00314.14
5.6.190.0070.00714.14
5.6.180.0120.00314.14
5.6.170.0040.00414.12
5.6.160.0070.00714.53
5.6.150.0100.00614.33
5.6.140.0030.01314.19
5.6.130.0030.01314.18
5.6.120.0030.01414.10
5.6.110.0030.01014.20
5.6.100.0130.00014.05
5.6.90.0060.00614.36
5.6.80.0100.00614.05
5.6.70.0100.00314.51
5.6.60.0030.01014.49
5.6.50.0030.00714.07
5.6.40.0100.00614.20
5.6.30.0060.00613.97
5.6.20.0060.00914.06
5.6.10.0060.00614.10
5.6.00.0000.00914.11

preferences:
54.72 ms | 401 KiB | 5 Q