3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(["a" => 1, ...["b" => 2, "c" => 3], "d" => 4]);

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.4.120.0040.00420.37
8.4.110.0110.00722.56
8.4.100.0070.00217.73
8.4.90.0150.00518.68
8.4.80.0140.01017.44
8.4.70.0070.00417.74
8.4.60.0130.00718.75
8.4.50.0170.00417.67
8.4.40.0110.00817.37
8.4.30.0040.01520.23
8.4.20.0120.00917.80
8.4.10.0090.00019.22
8.3.250.0100.00818.64
8.3.240.0110.00816.50
8.3.230.0100.00916.77
8.3.220.0100.00816.95
8.3.210.0180.00616.64
8.3.200.0110.00016.39
8.3.190.0130.00516.85
8.3.180.0060.00916.73
8.3.170.0090.00917.24
8.3.160.0070.01118.39
8.3.150.0110.00720.70
8.3.140.0140.00418.30
8.3.130.0120.00618.10
8.3.120.0000.00818.30
8.3.110.0050.00316.47
8.3.50.0060.00316.45
8.2.290.0130.00522.17
8.2.280.0050.00318.11
8.2.270.0040.01418.97
8.2.260.0150.00318.36
8.2.250.0080.00018.14
8.2.240.0030.00618.30
8.2.230.0080.00016.16
8.1.330.0150.00421.57
8.1.320.0130.00716.07
8.1.310.0160.00318.54
8.1.300.0040.00416.05
8.0.20.0100.00917.40
8.0.10.0080.01217.40
8.0.00.0150.00417.40
7.4.150.0180.00017.40
7.4.140.0060.01217.40
7.4.130.0100.00717.40
7.4.120.0110.00517.40
7.4.110.0100.00617.40
7.4.100.0090.01017.40
7.4.90.0190.00817.40
7.4.80.0070.01017.40
7.4.70.0070.01017.40
7.4.60.0030.01517.40
7.4.50.0090.00917.40
7.4.40.0120.00417.40
7.4.30.0110.00617.40
7.4.20.0160.00017.40
7.4.10.0060.01217.40
7.4.00.0110.00717.40
7.3.270.0150.00317.40
7.3.260.0030.01217.40
7.3.250.0060.00917.40
7.3.240.0030.01317.40
7.3.230.0130.00317.40
7.3.220.0140.00617.40
7.3.210.0060.01317.40
7.3.200.0160.00017.40
7.3.190.0060.01217.40
7.3.180.0200.00317.40
7.3.170.0060.01017.40
7.3.160.0120.00417.40
7.3.150.0080.00817.40
7.3.140.0100.00717.40
7.3.130.0080.00817.40
7.3.120.0030.01417.40
7.3.110.0090.00917.40
7.3.100.0050.01317.40
7.3.90.0080.00817.40
7.3.80.0000.01717.40
7.3.70.0030.01417.40
7.3.60.0120.00417.40
7.3.50.0070.01017.40
7.3.40.0110.00517.40
7.3.30.0080.00817.40
7.3.20.0050.01417.40
7.3.10.0150.00417.40
7.3.00.0090.01417.40

preferences:
46.91 ms | 403 KiB | 5 Q