3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['key' => 1], ['key' => 2], ['key' => 3], ['key' => 1], ['key' => 2], ['key' => 3], ['key' => 4], ['key' => 5], ['key' => 6] ]; var_export(array_values(array_column($array, 'key', 'key')));

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.130.0100.01017.63
8.4.120.0110.00920.70
8.4.110.0140.00622.38
8.4.100.0060.00417.59
8.4.90.0040.00417.58
8.4.80.0110.00822.19
8.4.70.0050.00417.66
8.4.60.0130.00818.33
8.4.50.0120.00817.57
8.4.40.0100.01017.73
8.4.30.0120.00620.42
8.4.20.0070.00319.65
8.4.10.0080.01219.42
8.3.260.0130.00616.34
8.3.250.0110.00718.68
8.3.240.0090.00916.46
8.3.230.0120.00716.26
8.3.220.0060.00917.13
8.3.210.0090.00616.59
8.3.200.0060.00316.27
8.3.190.0120.00316.88
8.3.180.0130.00616.50
8.3.170.0040.01416.93
8.3.160.0130.00320.41
8.3.150.0120.00619.01
8.3.140.0040.00416.47
8.3.130.0040.00418.21
8.3.120.0090.00920.75
8.3.110.0050.00320.94
8.3.100.0360.01037.54
8.3.90.0410.00437.54
8.3.80.0350.01237.54
8.3.70.0420.00737.54
8.3.60.0340.01237.54
8.3.50.0380.00837.54
8.3.40.0350.00837.54
8.3.30.0350.00737.54
8.3.20.0310.01437.54
8.3.10.0410.00037.54
8.3.00.0290.00937.54
8.2.290.0070.00220.47
8.2.280.0090.00818.18
8.2.270.0120.00816.54
8.2.260.0110.00416.91
8.2.250.0040.00416.38
8.2.240.0040.01119.16
8.2.230.0060.00322.58
8.2.220.0280.00937.54
8.2.210.0180.01837.54
8.2.200.0300.00337.54
8.2.190.0200.00037.54
8.2.180.0160.00337.54
8.2.170.0190.00337.54
8.2.160.0200.00037.54
8.2.150.0170.00437.54
8.2.140.0190.00037.54
8.2.130.0220.00037.54
8.2.120.0120.00737.54
8.2.110.0200.00037.54
8.2.100.0160.00337.54
8.2.90.0190.00337.54
8.2.80.0170.00437.54
8.2.70.0150.00537.54
8.2.60.0120.00937.54
8.2.50.0150.00437.54
8.2.40.0120.00637.54
8.2.30.0150.00037.54
8.2.20.0100.00537.54
8.2.10.0130.00337.54
8.2.00.0170.00337.54
8.1.330.0090.00616.39
8.1.320.0120.00716.28
8.1.310.0080.00016.80
8.1.300.0060.01218.36
8.1.290.0110.00837.54
8.1.280.0130.00337.54
8.1.270.0000.01437.54
8.1.260.0170.00037.54
8.1.250.0190.00037.54
8.1.240.0110.00637.54
8.1.230.0160.00037.54
8.1.220.0080.00837.54
8.1.210.0160.00037.54
8.1.200.0100.00737.54
8.1.190.0130.00537.54
8.1.180.0070.01037.54
8.1.170.0100.00737.54
8.1.160.0160.00037.54
8.1.150.0100.00737.54
8.1.140.0150.00037.54
8.1.130.0170.00037.54
8.1.120.0070.00737.54
8.1.110.0140.00337.54
8.1.100.0120.00337.54
8.1.90.0110.00837.54
8.1.80.0140.00337.54
8.1.70.0120.00837.54
8.1.60.0170.00337.54
8.1.50.0180.00037.54
8.1.40.0120.00637.54
8.1.30.0170.00037.54
8.1.20.0090.00937.54
8.1.10.0070.01037.54
8.1.00.0150.00337.54

preferences:
28.25 ms | 403 KiB | 5 Q