3v4l.org

run code in 300+ PHP versions simultaneously
<?php try{ $array['a'] += 2; var_dump($array); } catch(Throwable){}

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.0120.00916.88
8.3.50.0100.01018.02
8.3.40.0140.00720.34
8.3.30.0090.00618.67
8.3.20.0060.00324.18
8.3.10.0040.00424.66
8.3.00.0050.00226.16
8.2.180.0090.00625.92
8.2.170.0150.00018.65
8.2.160.0060.00922.96
8.2.150.0000.00725.66
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0080.00026.35
8.2.110.0070.00320.52
8.2.100.0070.00319.01
8.1.280.0090.00625.92
8.1.270.0070.00023.99
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0040.00418.41
8.1.230.0000.01118.93
7.4.100.0070.01016.46
7.4.90.0090.00616.39
7.4.80.0030.01415.95
7.4.70.0100.00716.24
7.4.60.0160.00816.13
7.4.50.0100.00716.37
7.4.40.0070.01316.17
7.4.30.0050.01116.17
7.4.20.0120.00916.22
7.4.10.0000.01715.99
7.4.00.0030.01316.23
7.3.220.0070.01016.20
7.3.210.0000.01716.17
7.3.200.0030.01316.11
7.3.190.0090.00616.34
7.3.180.0070.01016.24
7.3.170.0150.00016.07
7.3.160.0110.00716.43
7.3.150.0080.00916.17
7.3.140.0060.01115.85
7.3.130.0150.00416.12
7.3.120.0140.00316.09
7.3.110.0060.01016.09
7.3.100.0100.00615.93
7.3.90.0100.00716.06
7.3.80.0130.00316.21
7.3.70.0100.00616.23
7.3.60.0130.01016.10
7.3.50.0030.01216.10
7.3.40.0090.00616.16
7.3.30.0060.01016.20
7.3.20.0070.01016.23
7.3.10.0090.00916.17
7.3.00.0070.01016.34
7.2.330.0070.01016.50
7.2.320.0100.00716.02
7.2.310.0170.00016.21
7.2.300.0150.00316.41
7.2.290.0060.01216.40
7.2.280.0120.00916.08
7.2.270.0090.00916.43
7.2.260.0100.00716.03
7.2.250.0070.01016.11
7.2.240.0130.00316.08
7.2.230.0100.00716.07
7.2.220.0100.00616.09
7.2.210.0030.01316.32
7.2.200.0060.01016.25
7.2.190.0070.01016.16
7.2.180.0070.01016.34
7.2.170.0100.00616.27
7.2.160.0100.00716.29
7.2.150.0160.00316.18
7.2.140.0190.00616.37
7.2.130.0150.00816.35
7.2.120.0110.00716.45
7.2.110.0030.01316.21
7.2.100.0090.00916.38
7.2.90.0090.00616.39
7.2.80.0160.00016.30
7.2.70.0070.01016.29
7.2.60.0100.00616.30
7.2.50.0090.01216.32
7.2.40.0060.01616.52
7.2.30.0130.00916.48
7.2.20.0070.01016.20
7.2.10.0080.01116.18
7.2.00.0150.00916.32

preferences:
30.04 ms | 400 KiB | 5 Q