3v4l.org

run code in 300+ PHP versions simultaneously
<?php try{ throw new \Exception('bla'); } catch(\Exception $e) { var_dump($e->getMessage()); throw $e; } finally { var_dump($finally); }

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.0100.00716.75
8.3.50.0110.00417.96
8.3.40.0110.01118.94
8.3.30.0000.01518.89
8.3.20.0080.00020.16
8.3.10.0040.00423.65
8.3.00.0050.00319.79
8.2.180.0180.00316.50
8.2.170.0090.00622.96
8.2.160.0100.00320.52
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0060.00319.36
8.2.120.0050.00326.35
8.2.110.0060.00320.16
8.2.100.0040.00717.80
8.2.90.0080.00019.09
8.2.80.0060.00317.97
8.2.70.0060.00317.38
8.2.60.0060.00317.93
8.2.50.0030.00518.07
8.2.40.0040.00422.18
8.2.30.0030.00320.61
8.2.20.0030.00617.68
8.2.10.0030.00518.04
8.2.00.0000.00718.04
8.1.280.0120.00925.92
8.1.270.0080.00020.24
8.1.260.0080.00028.09
8.1.250.0080.00028.09
8.1.240.0030.00622.19
8.1.230.0070.00417.83
8.1.220.0030.00517.74
8.1.210.0030.00518.77
8.1.200.0070.00317.47
8.1.190.0080.00017.13
8.1.180.0040.00418.10
8.1.170.0080.00018.41
8.1.160.0000.00720.76
8.1.150.0030.00318.89
8.1.140.0000.00819.45
8.1.130.0080.00017.70
8.1.120.0040.00417.30
8.1.110.0000.00717.49
8.1.100.0080.00017.42
8.1.90.0000.00817.47
8.1.80.0070.00017.48
8.1.70.0020.00517.50
8.1.60.0050.00217.45
8.1.50.0030.00517.54
8.1.40.0040.00417.56
8.1.30.0050.00517.64
8.1.20.0040.00417.53
8.1.10.0000.00717.62
8.1.00.0000.00817.52
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0030.00318.29
8.0.270.0080.00417.19
8.0.260.0000.00617.13
8.0.250.0040.00416.84
8.0.240.0070.00016.96
8.0.230.0000.00716.95
8.0.220.0020.00516.82
8.0.210.0070.00016.88
8.0.200.0070.00016.86
8.0.190.0090.00017.01
8.0.180.0040.00416.95
8.0.170.0000.00716.89
8.0.160.0000.00916.84
8.0.150.0050.00516.92
8.0.140.0040.00416.88
8.0.130.0000.00513.35
8.0.120.0000.00816.80
8.0.110.0070.00016.78
8.0.100.0050.00316.95
8.0.90.0040.00416.87
8.0.80.0150.00616.90
8.0.70.0000.00716.90
8.0.60.0000.00816.81
8.0.50.0050.00216.75
8.0.30.0070.01017.26
8.0.20.0100.00817.40
8.0.10.0000.00817.13
8.0.00.0080.00916.70
7.4.330.0000.00516.79
7.4.320.0060.00016.57
7.4.300.0060.00016.51
7.4.290.0000.00716.52
7.4.280.0030.00716.62
7.4.270.0040.00416.60
7.4.260.0030.00316.48
7.4.250.0040.00416.45
7.4.240.0020.00616.50
7.4.230.0050.00316.63
7.4.220.0100.01416.45
7.4.210.0070.00816.53
7.4.200.0070.00016.68
7.4.160.0080.00816.65
7.4.150.0050.01117.40
7.4.140.0200.00217.86
7.4.130.0090.00816.58
7.4.120.0140.00516.65
7.4.110.0070.01316.33
7.4.100.0120.00916.47
7.4.90.0100.00716.52
7.4.80.0040.01319.39
7.4.70.0060.00916.46
7.4.60.0120.00616.50
7.4.50.0070.01016.55
7.4.40.0160.00016.44
7.4.30.0070.01016.38
7.4.10.0130.00614.73
7.4.00.0040.01414.88
7.3.330.0020.00513.06
7.3.320.0000.00613.07
7.3.310.0040.00416.26
7.3.300.0000.00716.13
7.3.290.0080.00016.36
7.3.280.0090.00916.33
7.3.270.0080.00817.40
7.3.260.0140.00416.42
7.3.250.0140.00516.37
7.3.240.0150.00516.49
7.3.230.0130.00316.39
7.3.210.0080.00816.39
7.3.200.0090.00616.26
7.3.190.0080.00816.43
7.3.180.0090.00616.44
7.3.170.0090.01016.42
7.3.160.0090.00616.50
7.3.130.0090.00914.89
7.3.120.0100.00615.00
7.3.110.0060.01114.85
7.3.100.0050.00914.82
7.3.90.0050.00914.66
7.3.80.0050.00814.85
7.3.70.0060.01014.82
7.3.60.0050.00814.89
7.3.50.0040.01214.76
7.3.40.0110.00514.71
7.3.30.0050.01014.73
7.3.20.0060.00716.82
7.3.10.0050.01016.66
7.3.00.0070.00616.60
7.2.330.0110.00616.64
7.2.320.0070.01016.67
7.2.310.0070.01516.38
7.2.300.0070.01016.41
7.2.290.0130.00316.38
7.2.260.0030.01715.04
7.2.250.0080.00715.13
7.2.240.0070.01015.03
7.2.230.0070.00814.95
7.2.220.0070.00514.92
7.2.210.0050.00515.08
7.2.200.0080.00514.86
7.2.190.0050.00814.91
7.2.180.0090.00614.78
7.2.170.0090.00514.89
7.2.160.0080.00814.71
7.2.150.0070.00716.78
7.2.140.0110.00416.59
7.2.130.0120.00316.77
7.2.120.0090.00916.71
7.2.110.0100.00516.79
7.2.100.0070.01116.79
7.2.90.0100.00916.84
7.2.80.0080.00716.87
7.2.70.0080.00916.82
7.2.60.0060.01016.85
7.2.50.0080.01116.82
7.2.40.0120.00716.64
7.2.30.0090.01016.79
7.2.20.0070.00916.75
7.2.10.0100.00916.77
7.2.00.0090.00817.41
7.1.330.0020.01215.85
7.1.320.0060.00815.77
7.1.310.0100.00315.83
7.1.300.0050.00915.63
7.1.290.0040.00715.79
7.1.280.0040.00815.70
7.1.270.0060.00515.62
7.1.260.0030.00815.62
7.1.250.0070.00615.73
7.1.240.0040.00715.82
7.1.230.0110.00615.67
7.1.220.0000.01415.81
7.1.210.0070.00715.89
7.1.200.0080.00815.83
7.1.190.0050.00815.88
7.1.180.0080.00715.69
7.1.170.0060.00815.68
7.1.160.0080.00815.89
7.1.150.0050.01015.70
7.1.140.0080.00915.75
7.1.130.0030.00815.72
7.1.120.0080.00515.76
7.1.110.0030.00815.83
7.1.100.0070.00716.42
7.1.90.0080.00715.66
7.1.80.0050.00715.67
7.1.70.0080.00516.13
7.1.60.0070.00616.34
7.1.50.0050.00816.12
7.1.40.0090.00515.96
7.1.30.0040.00715.93
7.1.20.0060.00616.17
7.1.10.0060.00816.01
7.1.00.0060.00715.90
7.0.330.0070.00515.27
7.0.320.0020.00915.27
7.0.310.0030.01215.44
7.0.300.0070.00515.26
7.0.290.0040.00715.39
7.0.280.0060.00715.26
7.0.270.0090.00515.53
7.0.260.0080.01015.19
7.0.250.0110.00515.55
7.0.240.0090.00215.32
7.0.230.0030.00615.30
7.0.220.0040.00515.48
7.0.210.0060.00515.32
7.0.200.0070.00515.79
7.0.190.0040.00715.76
7.0.180.0020.01115.67
7.0.170.0090.00715.70
7.0.160.0060.00515.72
7.0.150.0030.00815.61
7.0.140.0060.00715.57
7.0.130.0100.00715.79
7.0.120.0040.00915.71
7.0.110.0080.00515.78
7.0.100.0050.00715.67
7.0.90.0030.00915.60
7.0.80.0030.00915.77
7.0.70.0040.00915.69
7.0.60.0060.00915.71
7.0.50.0040.00615.75
7.0.40.0040.01114.05
7.0.30.0000.01114.03
7.0.20.0100.00413.90
7.0.10.0030.01214.07
7.0.00.0080.00713.92
5.6.400.0050.00514.53
5.6.390.0100.00314.55
5.6.380.0070.00714.01
5.6.370.0040.00914.23
5.6.360.0030.01114.07
5.6.350.0030.01014.14
5.6.340.0020.01114.31
5.6.330.0070.00514.13
5.6.320.0060.00714.25
5.6.310.0040.01114.40
5.6.300.0050.01716.47
5.6.290.0050.02016.39
5.6.280.0060.02016.33
5.6.270.0050.02016.50
5.6.260.0040.02916.50
5.6.250.0090.02616.32
5.6.240.0010.03616.44
5.6.230.0030.02016.33
5.6.220.0040.02216.44
5.6.210.0050.02116.44
5.6.200.0080.01816.39
5.6.190.0010.02516.40
5.6.180.0110.01516.37
5.6.170.0030.02716.42
5.6.160.0040.02116.37
5.6.150.0020.03416.36
5.6.140.0060.02516.34
5.6.130.0100.02016.33
5.6.120.0080.02016.46
5.6.110.0080.03416.26
5.6.100.0040.02016.27
5.6.90.0070.02116.38
5.6.80.0070.02016.23
5.6.70.0040.02316.16
5.6.60.0100.02416.16
5.6.50.0060.02516.08
5.6.40.0060.02016.11
5.6.30.0050.02416.04
5.6.20.0090.02716.12
5.6.10.0090.03016.03
5.6.00.0080.02316.06
5.5.380.0040.02014.12
5.5.370.0010.03014.26
5.5.360.0060.02414.30
5.5.350.0030.01814.16
5.5.340.0060.01814.28
5.5.330.0050.01814.31
5.5.320.0030.02214.51
5.5.310.0030.02214.51
5.5.300.0060.02414.48
5.5.290.0110.02414.40
5.5.280.0070.01914.50
5.5.270.0030.02814.24
5.5.260.0030.02214.40
5.5.250.0060.02014.18
5.5.240.0050.01914.23
5.5.230.0050.02014.26
5.5.220.0040.03114.15
5.5.210.0070.01713.99
5.5.200.0070.02414.07
5.5.190.0070.01814.12
5.5.180.0100.02314.17
5.5.170.0030.00912.59
5.5.160.0080.01613.93
5.5.150.0040.01814.14
5.5.140.0040.01914.23
5.5.130.0040.01814.15
5.5.120.0080.01414.10
5.5.110.0050.03314.14
5.5.100.0090.02413.94
5.5.90.0080.01914.07
5.5.80.0050.01614.06
5.5.70.0070.01514.11
5.5.60.0030.01714.08
5.5.50.0050.02214.08
5.5.40.0040.02014.06
5.5.30.0040.01713.90
5.5.20.0080.02414.03
5.5.10.0050.01714.17
5.5.00.0050.01514.12

preferences:
58.69 ms | 401 KiB | 5 Q