3v4l.org

run code in 300+ PHP versions simultaneously
<?php function call_method($obj) { $a = 10/0; $obj->method(); } try { call_method(null); // oops! } catch (Error $e) { echo "Exception propre: {$e->getMessage()}\n"; }

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.0040.01116.63
8.3.50.0110.00721.98
8.3.40.0150.00018.88
8.3.30.0080.00618.66
8.3.20.0070.00720.22
8.3.10.0040.00421.73
8.3.00.0040.00419.51
8.2.180.0070.00716.75
8.2.170.0100.00722.96
8.2.160.0110.00420.39
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00617.50
8.2.120.0070.00026.35
8.2.110.0030.00622.31
8.2.100.0070.00418.23
8.2.90.0060.00319.05
8.2.80.0030.00617.97
8.2.70.0080.00017.61
8.2.60.0050.00318.05
8.2.50.0080.00018.07
8.2.40.0000.00719.21
8.2.30.0000.00720.60
8.2.20.0030.00617.61
8.2.10.0080.00018.06
8.2.00.0000.00817.98
8.1.280.0120.00325.92
8.1.270.0030.00623.67
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0000.00923.91
8.1.230.0080.00419.08
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0030.00617.36
8.1.190.0000.00917.22
8.1.180.0040.00418.10
8.1.170.0050.00318.53
8.1.160.0040.00421.81
8.1.150.0020.00518.81
8.1.140.0050.00319.46
8.1.130.0070.00017.54
8.1.120.0020.00517.36
8.1.110.0000.00717.41
8.1.100.0040.00417.29
8.1.90.0030.00417.29
8.1.80.0040.00417.39
8.1.70.0000.00717.27
8.1.60.0000.00817.52
8.1.50.0040.00417.52
8.1.40.0030.00617.56
8.1.30.0040.00417.54
8.1.20.0000.00717.58
8.1.10.0080.00017.61
8.1.00.0040.00417.42
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0040.00418.45
8.0.270.0040.00417.29
8.0.260.0000.00617.24
8.0.250.0000.00717.09
8.0.240.0040.00416.99
8.0.230.0050.00217.05
8.0.220.0070.00016.95
8.0.210.0000.00716.94
8.0.200.0060.00016.96
8.0.190.0040.00416.89
8.0.180.0000.00816.93
8.0.170.0080.00016.88
8.0.160.0040.00416.94
8.0.150.0030.00316.90
8.0.140.0060.00316.86
8.0.130.0000.00513.36
8.0.120.0040.00416.93
8.0.110.0050.00316.95
8.0.100.0040.00416.81
8.0.90.0070.00016.98
8.0.80.0150.00616.90
8.0.70.0000.00816.83
8.0.60.0050.00216.78
8.0.50.0040.00416.91
8.0.30.0140.00717.12
8.0.20.0120.00617.40
8.0.10.0030.00516.95
8.0.00.0060.01216.81
7.4.330.0000.00516.83
7.4.320.0030.00316.34
7.4.300.0080.00016.57
7.4.290.0000.00716.64
7.4.280.0040.00416.48
7.4.270.0060.00016.61
7.4.260.0000.00716.49
7.4.250.0050.00216.49
7.4.240.0020.00516.58
7.4.230.0070.00016.69
7.4.220.0070.01716.55
7.4.210.0120.00316.57
7.4.200.0000.00716.31
7.4.160.0100.00716.70
7.4.150.0130.00617.40
7.4.140.0130.00717.86
7.4.130.0110.01316.67
7.4.120.0090.00816.38
7.4.110.0120.00616.52
7.4.100.0090.01416.60
7.4.90.0060.01116.46
7.4.80.0120.00619.39
7.4.70.0120.00616.46
7.4.60.0100.00616.63
7.4.50.0080.00716.57
7.4.40.0060.01016.69
7.4.30.0070.01016.52
7.4.00.0110.00314.76
7.3.330.0060.00013.26
7.3.320.0030.00313.29
7.3.310.0080.00016.28
7.3.300.0030.00316.15
7.3.290.0080.00816.27
7.3.280.0080.00816.29
7.3.270.0110.00717.40
7.3.260.0110.00416.38
7.3.250.0110.01016.37
7.3.240.0110.01016.37
7.3.230.0030.01316.39
7.3.210.0120.00616.34
7.3.200.0090.00916.26
7.3.190.0070.01016.59
7.3.180.0110.00516.55
7.3.170.0100.00716.34
7.3.160.0080.00816.31
7.2.330.0060.01216.32
7.2.320.0100.01016.25
7.2.310.0100.00716.43
7.2.300.0060.01116.39
7.2.290.0050.01216.63
7.2.60.0030.01016.99
7.2.00.0030.01019.43
7.1.200.0120.00015.85
7.1.100.0030.00518.22
7.1.70.0080.00317.01
7.1.60.0000.01319.36
7.1.50.0130.00716.94
7.1.00.0030.07722.40
7.0.200.0000.00916.58
7.0.60.0200.06319.95
7.0.50.0130.07317.88
7.0.40.0070.08020.10
7.0.30.0500.04020.20
7.0.20.0230.07320.05
7.0.10.0100.07020.19
7.0.00.0030.08720.25
5.6.280.0000.03320.93
5.6.210.0000.09020.48
5.6.200.0070.08718.29
5.6.190.0170.07320.50
5.6.180.0330.07320.52
5.6.170.0330.04720.51
5.6.160.0000.04720.57
5.6.150.0030.05318.15
5.6.140.0070.07718.14
5.6.130.0130.08018.17
5.6.120.0200.04020.99
5.6.110.0030.08321.14
5.6.100.0070.04020.99
5.6.90.0070.05720.85
5.6.80.0130.06320.38
5.5.350.0300.04020.34
5.5.340.0000.07018.00
5.5.330.0170.08020.30
5.5.320.0600.06720.14
5.5.310.0200.03720.29
5.5.300.0030.05017.92
5.5.290.0100.07718.09
5.5.280.0030.04020.74
5.5.270.0130.05020.79
5.5.260.0130.07720.86
5.5.250.0100.08320.55
5.5.240.0230.06320.16

preferences:
59.06 ms | 401 KiB | 5 Q