3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ContinueException extends Exception {} var_dump((function () { for ($i = 0; $i < 5; $i++) { try { try { return $i; } finally { if ($i != 3) throw new ContinueException; } } catch (ContinueException $e) { continue; } } })());

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.0070.00716.50
8.3.50.0070.00718.02
8.3.40.0070.00718.75
8.3.30.0190.00318.67
8.3.20.0050.00320.34
8.3.10.0080.00023.64
8.3.00.0080.00019.69
8.2.180.0110.00418.46
8.2.170.0110.00722.96
8.2.160.0100.00320.27
8.2.150.0030.00524.18
8.2.140.0000.00824.66
8.2.130.0060.00321.12
8.2.120.0040.00426.35
8.2.110.0170.00320.47
8.2.100.0040.01117.97
8.2.90.0030.00619.05
8.2.80.0040.00417.97
8.2.70.0080.00017.75
8.2.60.0060.00317.93
8.2.50.0060.00618.07
8.2.40.0030.00719.34
8.2.30.0000.00720.70
8.2.20.0050.00317.66
8.2.10.0040.00418.20
8.2.00.0070.00018.00
8.1.280.0110.00425.92
8.1.270.0030.00618.75
8.1.260.0070.00028.09
8.1.250.0000.00828.09
8.1.240.0060.00323.84
8.1.230.0070.00420.29
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0060.00317.46
8.1.190.0000.00817.64
8.1.180.0040.00418.10
8.1.170.0000.00918.59
8.1.160.0050.00320.74
8.1.150.0000.00718.82
8.1.140.0040.00419.54
8.1.130.0050.00317.71
8.1.120.0000.00717.54
8.1.110.0000.00717.49
8.1.100.0000.00717.50
8.1.90.0000.00717.50
8.1.80.0000.00817.47
8.1.70.0030.00317.37
8.1.60.0000.00817.63
8.1.50.0040.00417.57
8.1.40.0070.00317.40
8.1.30.0000.00817.56
8.1.20.0070.00017.63
8.1.10.0030.00517.44
8.1.00.0030.00517.40
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0030.00318.31
8.0.270.0000.00717.27
8.0.260.0050.00317.21
8.0.250.0030.00316.99
8.0.240.0000.00716.99
8.0.230.0030.00316.87
8.0.220.0000.00716.75
8.0.210.0030.00316.80
8.0.200.0030.00316.92
8.0.190.0040.00416.98
8.0.180.0000.00717.04
8.0.170.0040.00416.96
8.0.160.0040.00417.00
8.0.150.0040.00717.00
8.0.140.0070.00416.94
8.0.130.0000.00613.33
8.0.120.0040.00416.94
8.0.110.0000.00716.96
8.0.100.0000.00816.89
8.0.90.0040.00416.97
8.0.80.0080.01116.98
8.0.70.0000.00716.92
8.0.60.0040.00416.84
8.0.50.0070.00017.00
8.0.30.0130.00917.14
8.0.20.0190.00517.40
8.0.10.0040.00416.97
8.0.00.0080.01016.82
7.4.330.0030.00316.89
7.4.320.0000.00716.58
7.4.300.0000.00716.48
7.4.290.0030.00316.63
7.4.280.0030.00616.43
7.4.270.0030.00316.61
7.4.260.0060.00316.58
7.4.250.0070.00016.49
7.4.240.0020.00516.63
7.4.230.0030.00316.41
7.4.220.0070.01016.59
7.4.210.0110.00816.57
7.4.200.0070.00016.49
7.4.160.0060.00916.46
7.4.150.0090.01517.40
7.4.140.0090.01017.86
7.4.130.0090.00916.54
7.4.120.0110.00816.52
7.4.110.0160.00316.66
7.4.100.0100.00716.67
7.4.90.0060.01016.33
7.4.80.0080.01619.39
7.4.70.0120.00416.40
7.4.60.0070.01016.40
7.4.50.0040.00816.63
7.4.40.0090.00916.59
7.4.30.0140.00916.59
7.4.00.0050.00814.93
7.3.330.0030.00313.20
7.3.320.0000.00513.39
7.3.310.0030.00316.41
7.3.300.0060.00016.26
7.3.290.0000.00716.40
7.3.280.0150.00416.41
7.3.270.0090.01217.40
7.3.260.0100.00716.45
7.3.250.0060.01316.49
7.3.240.0070.01116.52
7.3.230.0140.00716.54
7.3.210.0140.00716.47
7.3.200.0070.01616.61
7.3.190.0100.00716.36
7.3.180.0070.01016.36
7.3.170.0360.01016.45
7.3.160.0100.00616.68
7.3.120.0050.01214.89
7.3.110.0070.00914.89
7.3.100.0070.00614.91
7.3.90.0090.00314.94
7.3.80.0030.01414.83
7.3.70.0080.00614.76
7.3.60.0090.00214.84
7.3.50.0070.00714.76
7.3.40.0060.00614.95
7.3.30.0080.00714.74
7.3.20.0080.00516.61
7.3.10.0080.00316.48
7.3.00.0050.00916.55
7.2.330.0140.00416.46
7.2.320.0070.01016.63
7.2.310.0130.01016.50
7.2.300.0070.01716.45
7.2.290.0040.01316.78
7.2.250.0100.01014.69
7.2.240.0110.00915.12
7.2.230.0020.01414.91
7.2.220.0060.00615.24
7.2.210.0050.00814.92
7.2.200.0050.00914.89
7.2.190.0050.01115.02
7.2.180.0120.00314.89
7.2.170.0030.01014.94
7.2.160.0040.01214.86
7.2.150.0090.00916.85
7.2.140.0120.00316.94
7.2.130.0040.01217.04
7.2.120.0060.00916.77
7.2.110.0090.00316.93
7.2.100.0060.01116.82
7.2.90.0000.01316.96
7.2.80.0060.00916.94
7.2.70.0000.01216.93
7.2.60.0020.01416.72
7.2.50.0080.00416.89
7.2.40.0060.00316.89
7.2.30.0060.00916.99
7.2.20.0110.00416.63
7.2.10.0030.01616.91
7.2.00.0030.01117.94
7.1.330.0070.00915.81
7.1.320.0050.00815.91
7.1.310.0060.00715.69
7.1.300.0060.00715.54
7.1.290.0070.00615.70
7.1.280.0050.00915.91
7.1.270.0040.01115.86
7.1.260.0070.00615.79
7.1.250.0030.00915.80
7.1.200.0080.01115.77
7.1.100.0520.01416.09
7.1.70.0000.00717.13
7.1.60.0060.01919.13
7.1.50.0060.00617.02
7.1.00.0030.07322.36
7.0.200.0030.00616.79
7.0.60.0030.08319.91
7.0.50.0030.05717.88
7.0.40.0200.07320.11
7.0.30.0270.05020.25
7.0.20.0170.08720.23
7.0.10.0130.08020.22
7.0.00.0030.06320.24
5.6.280.0000.03321.13
5.6.210.0100.07720.73
5.6.200.0230.07018.25
5.6.190.0030.06020.39
5.6.180.0530.07020.41
5.6.170.0270.06020.51
5.6.160.0100.08020.48
5.6.150.0100.08018.28
5.6.140.0070.04718.27
5.6.130.0070.04018.14
5.6.120.0070.04021.13
5.6.110.0100.07021.04
5.6.100.0100.08321.03
5.6.90.0130.08020.98
5.6.80.0130.05720.51
5.5.350.0030.08020.50
5.5.340.0100.06317.93
5.5.330.0130.03320.37
5.5.320.0130.03720.28
5.5.310.0270.05020.32
5.5.300.0070.04717.95
5.5.290.0130.04017.92
5.5.280.0000.08720.77
5.5.270.0030.08320.96
5.5.260.0070.07020.77
5.5.250.0170.07020.47
5.5.240.0230.06720.13

preferences:
39.15 ms | 401 KiB | 5 Q