3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['id' => 1, 'key' => 'foo', 'data' => 'a'], ['id' => 2, 'key' => 'bar', 'data' => 'b'], ['id' => 3, 'key' => 'barf', 'data' => 'c'], ]; var_export( array_column($array, null, 'id') );

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.0140.00523.97
8.4.110.0120.00817.62
8.4.100.0140.00718.70
8.4.90.0070.00220.52
8.4.80.0130.00718.60
8.4.70.0130.00817.82
8.4.60.0110.00918.68
8.4.50.0100.00919.55
8.4.40.0000.00817.55
8.4.30.0100.01020.46
8.4.20.0110.01117.77
8.4.10.0060.00319.48
8.3.250.0100.00918.96
8.3.240.0100.00816.96
8.3.230.0120.00716.79
8.3.220.0090.00918.78
8.3.210.0100.00916.56
8.3.200.0050.00416.66
8.3.190.0110.00716.45
8.3.180.0090.01016.63
8.3.170.0120.00616.48
8.3.160.0150.00316.54
8.3.150.0050.00316.98
8.3.140.0080.00017.06
8.3.130.0030.00618.30
8.3.120.0090.00020.89
8.3.110.0070.00420.94
8.3.100.0080.00424.06
8.3.90.0040.00426.77
8.3.80.0060.00316.63
8.3.70.0130.00616.58
8.3.60.0130.00318.18
8.3.50.0150.00620.23
8.3.40.0070.00718.46
8.3.30.0150.00018.42
8.3.20.0050.00224.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.290.0130.00720.32
8.2.280.0090.01016.51
8.2.270.0080.01116.47
8.2.260.0120.00618.85
8.2.250.0070.01116.38
8.2.240.0060.01319.03
8.2.230.0070.00322.58
8.2.220.0000.00937.54
8.2.210.0030.00626.77
8.2.200.0040.00416.63
8.2.190.0110.00716.58
8.2.180.0060.00925.92
8.2.170.0120.00918.92
8.2.160.0070.01022.96
8.2.150.0080.00025.66
8.2.140.0060.00924.66
8.2.130.0040.01126.16
8.2.120.0050.00326.16
8.2.110.0090.00020.32
8.2.100.0080.00417.63
8.2.90.0040.00417.83
8.2.80.0000.00719.09
8.2.70.0000.00917.80
8.2.60.0040.00417.93
8.2.50.0050.00320.32
8.2.40.0050.00317.66
8.2.30.0070.00017.98
8.2.20.0000.00720.35
8.2.10.0000.00817.66
8.2.00.0000.00719.05
8.1.330.0130.00621.54
8.1.320.0130.00716.03
8.1.310.0060.00316.38
8.1.300.0090.00018.27
8.1.290.0090.00330.84
8.1.280.0150.00625.92
8.1.270.0040.00423.99
8.1.260.0030.00626.35
8.1.250.0080.00028.09
8.1.240.0090.00023.83
8.1.230.0080.00423.98
8.1.220.0000.00717.74
8.1.210.0080.00018.98
8.1.200.0040.00417.36
8.1.190.0030.00517.10
8.1.180.0030.00718.10
8.1.170.0060.00317.65
8.1.160.0070.00018.81
8.1.150.0070.00018.61
8.1.140.0040.00417.38
8.1.130.0000.00717.43
8.1.120.0050.00317.28
8.1.110.0060.00317.27
8.1.100.0050.00217.21
8.1.90.0000.01017.27
8.1.80.0000.00917.41
8.1.70.0000.00717.43
8.1.60.0020.00517.45
8.1.50.0040.00417.48
8.1.40.0070.00017.45
8.1.30.0000.00917.58
8.1.20.0050.00517.40
8.1.10.0130.00317.36
8.1.00.0100.00817.07
8.0.300.0030.00519.98
8.0.290.0060.00316.63
8.0.280.0000.00818.25
8.0.270.0040.00416.73
8.0.260.0030.00316.65
8.0.250.0000.00816.77
8.0.240.0000.00716.92
8.0.230.0030.00316.77
8.0.220.0000.00716.81
8.0.210.0030.00616.81
8.0.200.0030.00316.79
8.0.190.0040.00416.82
8.0.180.0000.00716.80
8.0.170.0000.00916.72
8.0.160.0060.00316.73
8.0.150.0000.01116.64
8.0.140.0040.00916.64
8.0.130.0110.00416.71
8.0.120.0080.00316.68
8.0.110.0110.00016.78
8.0.100.0100.00216.66
8.0.90.0060.00616.73
8.0.80.0040.00416.84
8.0.70.0130.00016.65
8.0.60.0140.00316.68
8.0.50.0140.00516.79
8.0.30.0140.00416.67
8.0.20.0110.00816.85
8.0.10.0220.00016.86
7.4.330.0000.00515.55
7.4.320.0030.00316.43
7.4.300.0000.00716.34
7.4.290.0080.00016.38
7.4.280.0080.00016.43
7.4.270.0250.00016.48
7.4.260.0170.00616.52
7.4.250.0160.00616.39
7.4.240.0150.00416.35
7.4.230.0110.00316.47
7.4.220.0050.00516.42
7.4.210.0100.00016.51
7.4.200.0120.00016.48
7.4.190.0110.00016.42
7.4.180.0030.00616.33
7.4.160.0080.00416.43
7.4.150.0070.00416.38
7.4.140.0080.00516.21
7.4.130.0000.01116.24
7.4.120.0040.00716.16
7.4.110.0120.00316.14
7.4.100.0100.00316.27
7.4.90.0000.01116.36
7.4.80.0050.00316.23
7.4.70.0090.00016.18
7.4.60.0120.00016.12
7.4.50.0040.00416.09
7.4.40.0040.00716.16
7.4.30.0030.00616.17
7.4.20.0080.00516.25
7.4.10.0030.00716.21
7.4.00.0040.00816.17

preferences:
28.98 ms | 403 KiB | 5 Q