3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { try { throw new \RuntimeException('Test 1'); } catch (\RuntimeException $e) { throw new \RuntimeException('Test 2'); } finally { return $error->getMessage(); } } echo test();

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.01216.63
8.3.50.0180.00016.30
8.3.40.0120.00418.61
8.3.30.0100.00718.71
8.3.20.0080.00020.81
8.3.10.0040.00420.21
8.3.00.0060.00322.50
8.2.180.0100.01016.61
8.2.170.0110.01119.07
8.2.160.0090.00622.96
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00026.16
8.2.110.0100.00019.27
8.2.100.0090.00317.72
8.2.90.0030.00517.75
8.2.80.0090.00017.97
8.2.70.0070.00317.75
8.2.60.0000.00817.75
8.2.50.0050.00318.04
8.2.40.0040.00417.91
8.2.30.0070.00019.45
8.2.20.0040.00417.99
8.2.10.0080.00019.24
8.2.00.0000.00719.23
8.1.280.0110.00725.92
8.1.270.0000.00922.04
8.1.260.0030.00626.35
8.1.250.0140.00028.09
8.1.240.0000.01021.95
8.1.230.0080.00421.03
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0080.00417.34
8.1.180.0000.00818.10
8.1.170.0070.00017.62
8.1.160.0060.00319.07
8.1.150.0040.00418.84
8.1.140.0040.00418.96
8.1.130.0020.00521.86
8.1.120.0000.00917.48
8.1.110.0050.00217.41
8.1.100.0000.00717.48
8.1.90.0050.00517.43
8.1.80.0000.00817.41
8.1.70.0070.00017.38
8.1.60.0090.00017.57
8.1.50.0050.00317.51
8.1.40.0000.00817.54
8.1.30.0040.00417.48
8.1.20.0040.00417.61
8.1.10.0030.00617.61
8.1.00.0040.00417.41
8.0.300.0090.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00518.40
8.0.270.0030.00318.12
8.0.260.0000.00620.02
8.0.250.0000.00716.95
8.0.240.0060.00316.95
8.0.230.0050.00316.93
8.0.220.0070.00316.81
8.0.210.0080.00016.85
8.0.200.0040.00416.98
8.0.190.0000.00817.00
8.0.180.0050.00316.81
8.0.170.0040.00416.93
8.0.160.0040.00416.89
8.0.150.0040.00416.79
8.0.140.0000.00716.88
8.0.130.0050.00013.41
8.0.120.0040.00416.82
8.0.110.0030.00317.01
8.0.100.0040.00416.93
8.0.90.0030.00516.85
8.0.80.0090.01216.89
8.0.70.0040.00416.87
8.0.60.0040.00416.92
8.0.50.0050.00316.95
8.0.30.0140.01117.14
8.0.20.0080.01116.93
8.0.10.0070.00016.97
8.0.00.0160.00316.70
7.4.330.0050.00015.55
7.4.320.0000.00716.58
7.4.300.0030.00316.59
7.4.290.0000.00716.64
7.4.280.0050.00216.49
7.4.270.0030.00316.49
7.4.260.0000.00513.30
7.4.250.0050.00316.38
7.4.240.0050.00216.57
7.4.230.0030.00516.50
7.4.220.0000.00716.53
7.4.210.0040.01116.55
7.4.200.0070.00016.59
7.4.130.0060.01116.52
7.4.120.0000.01616.66
7.4.110.0080.01116.57
7.4.100.0070.01516.39
7.4.90.0180.00016.51
7.4.80.0130.01019.39
7.4.70.0090.00616.54
7.4.60.0120.00616.73
7.4.50.0100.00316.61
7.4.40.0090.00616.57
7.4.30.0110.00416.35
7.4.20.0190.00316.33
7.4.10.0150.00616.57
7.4.00.0140.00316.43
7.3.330.0000.00716.33
7.3.320.0000.00513.16
7.3.310.0030.00316.32
7.3.300.0030.00316.26
7.3.290.0090.00716.30
7.3.280.0100.00616.19
7.3.260.0120.00616.40
7.3.230.0170.00616.50
7.3.210.0040.01316.41
7.3.200.0100.00716.65
7.3.190.0060.01016.37
7.3.180.0090.00616.30
7.3.170.0130.00416.36
7.3.160.0100.00716.61
7.3.150.0100.01316.31
7.3.140.0060.00916.42
7.3.130.0070.01016.47
7.3.120.0030.01216.26
7.3.110.0060.01516.37
7.3.100.0040.01116.36
7.3.90.0120.00916.25
7.3.80.0030.01216.20
7.3.70.0090.00616.47
7.3.60.0060.01616.25
7.3.50.0090.01216.30
7.3.40.0100.00716.19
7.3.30.0100.00716.36
7.3.20.0100.00716.50
7.3.10.0120.00616.48
7.3.00.0060.01116.34
7.2.330.0090.01216.64
7.2.320.0070.01016.32
7.2.310.0070.01016.36
7.2.300.0070.01116.71
7.2.290.0100.00616.43
7.2.280.0200.00316.63
7.2.270.0090.01216.36
7.2.260.0150.00316.34
7.2.250.0050.01016.59
7.2.240.0040.01816.64
7.2.230.0090.00616.55
7.2.220.0100.01316.36
7.2.210.0030.01316.55
7.2.200.0060.00916.58
7.2.190.0090.01316.53
7.2.180.0120.00916.65
7.2.170.0070.01016.51
7.2.160.0090.01316.34
7.2.150.0030.01316.46
7.2.140.0150.00316.46
7.2.130.0120.00916.47
7.2.120.0130.01016.59
7.2.110.0070.01416.62
7.2.100.0060.01216.48
7.2.90.0070.01316.36
7.2.80.0190.00016.31
7.2.70.0100.01016.62
7.2.60.0140.00516.48
7.2.50.0140.00516.49
7.2.40.0130.01016.43
7.2.30.0070.01316.66
7.2.20.0120.00616.43
7.2.10.0120.00816.42
7.2.00.0160.00916.54

preferences:
63.29 ms | 401 KiB | 5 Q