3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { throw new \Exception('first exc'); } catch (\Exception $e) { throw new \Exception('second exc', $e->getCode(), $e); }

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.0130.00716.75
8.3.50.0090.00616.64
8.3.40.0040.01119.02
8.3.30.0070.00718.66
8.3.20.0040.00420.15
8.3.10.0000.00821.73
8.3.00.0070.00023.64
8.2.180.0160.00618.17
8.2.170.0110.00422.96
8.2.160.0070.00720.27
8.2.150.0050.00224.18
8.2.140.0030.00524.66
8.2.130.0040.00419.51
8.2.120.0040.00426.35
8.2.110.0040.00422.29
8.2.100.0110.00017.66
8.2.90.0040.00419.28
8.2.80.0030.00718.03
8.2.70.0070.00317.25
8.2.60.0040.00417.80
8.2.50.0080.00018.07
8.2.40.0000.00822.33
8.2.30.0040.00419.33
8.2.20.0040.00417.66
8.2.10.0040.00418.05
8.2.00.0030.00317.98
8.1.280.0070.01025.92
8.1.270.0110.00022.13
8.1.260.0070.00028.09
8.1.250.0080.00028.09
8.1.240.0030.00623.81
8.1.230.0090.00321.04
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0080.00017.47
8.1.190.0060.00317.22
8.1.180.0000.00718.10
8.1.170.0040.00418.50
8.1.160.0000.00720.68
8.1.150.0000.00718.86
8.1.140.0000.00819.56
8.1.130.0040.00417.57
8.1.120.0030.00317.39
8.1.110.0040.00417.34
8.1.100.0070.00017.48
8.1.90.0000.00717.49
8.1.80.0000.00817.49
8.1.70.0000.00717.46
8.1.60.0040.00417.58
8.1.50.0000.00817.50
8.1.40.0000.00817.43
8.1.30.0000.00817.68
8.1.20.0060.00317.64
8.1.10.0040.00417.44
8.1.00.0000.00717.47
8.0.300.0070.00018.77
8.0.290.0070.00016.58
8.0.280.0070.00018.33
8.0.270.0030.00317.11
8.0.260.0000.00617.20
8.0.250.0000.00616.94
8.0.240.0000.00816.95
8.0.230.0000.00716.95
8.0.220.0000.00816.88
8.0.210.0000.00716.91
8.0.200.0030.00316.99
8.0.190.0000.00716.97
8.0.180.0000.00716.89
8.0.170.0040.00416.80
8.0.160.0000.00716.94
8.0.150.0030.00516.89
8.0.140.0000.00716.85
8.0.130.0000.00613.39
8.0.120.0040.00416.97
8.0.110.0000.00816.96
8.0.100.0040.00416.94
8.0.90.0030.00516.94
8.0.80.0070.00916.88
8.0.70.0030.00516.81
8.0.60.0030.00516.80
8.0.50.0080.00016.91
8.0.30.0120.00817.12
8.0.20.0120.01117.40
8.0.10.0000.00717.02
8.0.00.0050.01216.97
7.4.330.0000.00616.69
7.4.320.0070.00016.45
7.4.300.0070.00016.39
7.4.290.0030.00316.40
7.4.280.0030.00616.57
7.4.270.0070.00016.61
7.4.260.0000.00816.58
7.4.250.0000.00816.55
7.4.240.0020.00516.51
7.4.230.0060.00316.34
7.4.220.0090.00916.70
7.4.210.0090.01016.56
7.4.200.0070.00016.55
7.4.160.0190.00016.54
7.4.150.0070.01117.40
7.4.140.0150.00517.86
7.4.130.0070.01016.44
7.4.120.0100.00816.54
7.4.110.0070.01016.56
7.4.100.0070.01116.73
7.4.90.0060.01216.62
7.4.80.0060.01619.39
7.4.70.0070.01016.64
7.4.60.0070.01016.60
7.4.50.0030.01316.30
7.4.40.0070.01316.45
7.4.30.0190.00316.36
7.4.00.0040.01214.73
7.3.330.0000.00513.01
7.3.320.0060.00013.25
7.3.310.0030.00316.39
7.3.300.0020.00516.29
7.3.290.0030.00316.34
7.3.280.0080.00716.29
7.3.270.0140.01217.40
7.3.260.0060.00916.33
7.3.250.0080.01116.44
7.3.240.0070.01016.46
7.3.230.0200.00416.50
7.3.210.0030.01316.43
7.3.200.0090.00616.31
7.3.190.0060.01016.42
7.3.180.0060.00916.48
7.3.170.0100.00616.45
7.3.160.0060.00916.38
7.2.330.0090.01516.51
7.2.320.0040.01416.40
7.2.310.0090.00816.78
7.2.300.0040.01216.54
7.2.290.0100.01416.71
7.2.60.0030.01016.72
7.2.00.0060.00819.34
7.1.200.0160.00915.46
7.1.100.0060.00618.09
7.1.70.0000.00817.10
7.1.60.0170.00719.30
7.1.50.0060.01216.64
7.1.00.0030.07722.45
7.0.200.0030.00716.76
7.0.60.0100.07321.81
7.0.50.0070.07717.88
7.0.40.0100.07020.23
7.0.30.0270.08320.04
7.0.20.0330.05720.09
7.0.10.0070.08320.09
7.0.00.0070.07720.30
5.6.280.0030.04021.09
5.6.210.0130.05320.64
5.6.200.0030.04318.29
5.6.190.0100.03720.56
5.6.180.0400.08020.51
5.6.170.0400.07720.54
5.6.160.0000.07320.50
5.6.150.0070.07718.26
5.6.140.0230.06718.28
5.6.130.0030.08318.18
5.6.120.0100.08321.07
5.6.110.0100.03321.16
5.6.100.0070.08020.93
5.6.90.0070.06720.97
5.6.80.0030.06320.53
5.5.350.0230.08320.38
5.5.340.0100.07717.92
5.5.330.0030.04020.19
5.5.320.0270.08320.27
5.5.310.0230.04320.41
5.5.300.0070.08018.02
5.5.290.0100.05318.08
5.5.280.0100.04320.80
5.5.270.0100.08020.88
5.5.260.0000.06720.73
5.5.250.0130.07720.77
5.5.240.0200.07720.14

preferences:
58.2 ms | 400 KiB | 5 Q