3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); function a(callable $a) { } try { a('foo'); } catch (\Exception $e) { echo "Catched"; }

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.0150.00316.50
8.3.50.0140.00621.99
8.3.40.0090.00618.67
8.3.30.0090.00618.67
8.3.20.0050.00220.21
8.3.10.0080.00023.57
8.3.00.0090.00019.94
8.2.180.0070.00718.43
8.2.170.0000.01722.96
8.2.160.0150.00620.53
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00019.16
8.2.120.0000.00826.35
8.2.110.0100.00022.07
8.2.100.0120.00018.04
8.2.90.0050.00319.22
8.2.80.0060.00317.97
8.2.70.0060.00317.63
8.2.60.0030.00617.93
8.2.50.0040.00418.07
8.2.40.0070.00320.14
8.2.30.0040.00420.50
8.2.20.0050.00317.55
8.2.10.0000.00718.00
8.2.00.0000.00718.07
8.1.280.0080.01325.92
8.1.270.0150.00420.25
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0090.00023.92
8.1.230.0110.00019.29
8.1.220.0040.00417.74
8.1.210.0000.01018.77
8.1.200.0000.01017.23
8.1.190.0050.00317.23
8.1.180.0050.00318.10
8.1.170.0000.00818.46
8.1.160.0000.00720.63
8.1.150.0000.00818.75
8.1.140.0040.00419.47
8.1.130.0030.00317.55
8.1.120.0040.00417.45
8.1.110.0050.00217.38
8.1.100.0020.00517.44
8.1.90.0040.00517.28
8.1.80.0030.00417.45
8.1.70.0000.00717.38
8.1.60.0040.00417.48
8.1.50.0000.00817.49
8.1.40.0000.00817.53
8.1.30.0000.00817.63
8.1.20.0060.00317.62
8.1.10.0030.00517.44
8.1.00.0030.00617.36
8.0.300.0060.00318.77
8.0.290.0000.00716.63
8.0.280.0040.00418.40
8.0.270.0000.00717.13
8.0.260.0030.00317.20
8.0.250.0030.00316.84
8.0.240.0000.00716.85
8.0.230.0040.00416.94
8.0.220.0040.00416.89
8.0.210.0040.00416.85
8.0.200.0030.00316.94
8.0.190.0040.00416.99
8.0.180.0070.00016.80
8.0.170.0000.00716.81
8.0.160.0000.00816.86
8.0.150.0040.00416.76
8.0.140.0040.00416.90
8.0.130.0060.00513.33
8.0.120.0050.00216.82
8.0.110.0000.00716.82
8.0.100.0000.00716.89
8.0.90.0000.00716.95
8.0.80.0070.00716.82
8.0.70.0000.00816.78
8.0.60.0040.00416.89
8.0.50.0040.00416.83
8.0.30.0120.00816.97
8.0.20.0110.00917.40
8.0.10.0080.00016.90
8.0.00.0120.00916.82
7.4.330.0050.00016.77
7.4.320.0030.00316.51
7.4.300.0060.00016.65
7.4.290.0030.00316.42
7.4.280.0000.00816.61
7.4.270.0030.00316.42
7.4.260.0000.00716.63
7.4.250.0000.00716.39
7.4.240.0020.00516.56
7.4.230.0000.00716.34
7.4.220.0150.00616.63
7.4.210.0090.00916.64
7.4.200.0030.00516.71
7.4.160.0070.01016.50
7.4.150.0060.01217.40
7.4.140.0110.00817.86
7.4.130.0140.00416.54
7.4.120.0110.00616.57
7.4.110.0040.01416.56
7.4.100.0150.00316.71
7.4.90.0070.01016.37
7.4.80.0070.01119.39
7.4.70.0090.00916.42
7.4.60.0100.00716.49
7.4.50.0080.00516.32
7.4.40.0030.01316.57
7.4.30.0110.00716.57
7.4.00.0090.00314.94
7.3.330.0050.00013.36
7.3.320.0030.00313.30
7.3.310.0000.00716.33
7.3.300.0030.00316.18
7.3.290.0010.01416.24
7.3.280.0070.01116.27
7.3.270.0090.00917.40
7.3.260.0160.00916.27
7.3.250.0100.00716.29
7.3.240.0090.00916.42
7.3.230.0130.00416.57
7.3.210.0100.00716.44
7.3.200.0160.00616.45
7.3.190.0040.01216.29
7.3.180.0080.00816.43
7.3.170.0030.01516.60
7.3.160.0070.01016.49
7.2.330.0080.00816.59
7.2.320.0150.00316.73
7.2.310.0110.00616.72
7.2.300.0030.01616.65
7.2.290.0130.00316.65
7.2.60.0040.01116.95
7.2.00.0060.00619.24
7.1.200.0100.00315.51
7.1.100.0080.00318.23
7.1.70.0000.00817.14
7.1.60.0000.02519.52
7.1.50.0060.01316.58
7.1.00.0000.08022.45
7.0.200.0100.00016.82
7.0.60.0070.07019.92
7.0.50.0000.04017.87
7.0.40.0070.08020.30
7.0.30.0370.07720.11
7.0.20.0200.04320.17
7.0.10.0030.04320.11
7.0.00.0170.08020.29
5.6.280.0000.03320.93
5.6.210.0070.03720.67
5.6.200.0070.07718.18
5.6.190.0070.08720.34
5.6.180.0130.06020.55
5.6.170.0370.07020.56
5.6.160.0030.04720.39
5.6.150.0030.08718.12
5.6.140.0030.08318.18
5.6.130.0030.08318.14
5.6.120.0000.06020.98
5.6.110.0100.07321.12
5.6.100.0100.07721.01
5.6.90.0100.03321.00
5.6.80.0000.04020.49
5.5.350.0370.07720.43
5.5.340.0070.06718.00
5.5.330.0000.05720.40
5.5.320.0300.07720.38
5.5.310.0230.06320.30
5.5.300.0030.08317.98
5.5.290.0030.08318.05
5.5.280.0030.07020.87
5.5.270.0100.05020.87
5.5.260.0030.09020.84
5.5.250.0030.07320.70
5.5.240.4270.03320.12

preferences:
46.75 ms | 401 KiB | 5 Q