3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arrays = array ( 0 => array( "location" => "Breakwater", "bsid" => "105c" ), 1 => array( "location" => "Breakwater", "bsid" => "105c" ), 2 => array( "location" => "Breakwater", "bsid" => "105c" ), 3 => array( "location" => "Whateverelse", "bsid" => "105c" ) ); function array_column($array, $key) { $column = array(); foreach($array as $origKey => $value) { if (isset($value[$key])) { $column[$origKey] = $value[$key]; } } return $column; } var_dump($column);

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)
5.4.450.2750.04319.29
5.4.440.1320.05719.50
5.4.430.1300.04819.47
5.4.420.1700.04719.42
5.4.410.1170.04518.98
5.4.400.1330.04318.97
5.4.390.1100.04718.94
5.4.380.1130.04718.95
5.4.370.1350.04218.88
5.4.360.1250.04518.93
5.4.350.0990.03215.55
5.4.340.1460.03515.67
5.4.320.1160.04815.80
5.4.310.1120.04115.75
5.4.300.1170.04315.74
5.4.290.0820.04415.85
5.4.280.1260.03315.70
5.4.270.1130.03715.81
5.4.260.1140.04415.78
5.4.250.1270.04215.69
5.4.240.0110.04915.68
5.4.230.0130.04815.67
5.4.220.0110.05015.69
5.4.210.0060.04515.71
5.4.200.0040.05815.59
5.4.190.0100.05415.67
5.4.180.0100.03915.52
5.4.170.0110.04015.67
5.4.160.0090.04315.66
5.4.150.0160.04515.67
5.4.140.0110.04214.23
5.4.130.0070.04214.23
5.4.120.0090.04014.22
5.4.110.0110.04414.29
5.4.100.0070.04814.29
5.4.90.0070.04614.28
5.4.80.0070.04114.17
5.4.70.0130.04714.19
5.4.60.0050.04514.32
5.4.50.0050.04314.25
5.4.40.0070.04114.31
5.4.30.0120.04114.24
5.4.20.0090.03814.24
5.4.10.0050.04614.23
5.4.00.0030.04513.76
5.3.290.1810.04013.84
5.3.280.0070.04313.73
5.3.270.0080.04613.70
5.3.260.0130.04113.73
5.3.250.0120.04013.71
5.3.240.0100.05213.68
5.3.230.0090.04913.70
5.3.220.0050.04513.67
5.3.210.0080.05313.66
5.3.200.0110.04013.66
5.3.190.0060.04413.57
5.3.180.0090.04113.53
5.3.170.0100.04113.61
5.3.160.0140.04213.68
5.3.150.0080.06013.57
5.3.140.0070.04313.53
5.3.130.0130.04313.60
5.3.120.0120.04413.61
5.3.110.0060.04813.60
5.3.100.0070.04513.11
5.3.90.0110.03913.06
5.3.80.0030.04513.06
5.3.70.0080.04313.11
5.3.60.0070.04313.03
5.3.50.0090.05112.90
5.3.40.0030.04813.10
5.3.30.0090.03812.98
5.3.20.0070.04712.73
5.3.10.0100.03912.69
5.3.00.0100.04512.67
5.2.170.0060.04910.27
5.2.160.0050.03610.22
5.2.150.0040.04210.19
5.2.140.0020.04110.26
5.2.130.0060.03310.18
5.2.120.0030.03610.14
5.2.110.0040.03710.13
5.2.100.0080.03310.14
5.2.90.0090.03610.18
5.2.80.0050.04110.12
5.2.70.0060.04210.04
5.2.60.0060.03310.18
5.2.50.0070.03410.05
5.2.40.0050.04110.07
5.2.30.0070.03510.05
5.2.20.0070.0329.97
5.2.10.0080.0379.90
5.2.00.0070.0369.76
5.1.60.0100.0279.14
5.1.50.0070.0319.08
5.1.40.0040.0309.00
5.1.30.0060.0309.38
5.1.20.0040.0319.35
5.1.10.0040.0319.16
5.1.00.0030.0309.12
5.0.50.0060.0237.52
5.0.40.0050.0227.55
5.0.30.0040.0377.32
5.0.20.0020.0237.26
5.0.10.0030.0257.34
5.0.00.0040.0377.24
4.4.90.0020.0196.09
4.4.80.0040.0166.04
4.4.70.0050.0166.04
4.4.60.0010.0226.04
4.4.50.0020.0196.02
4.4.40.0040.0335.99
4.4.30.0060.0206.02
4.4.20.0060.0166.06
4.4.10.0030.0186.06
4.4.00.0030.0286.02
4.3.110.0020.0185.97
4.3.100.0060.0156.45
4.3.90.0040.0166.43
4.3.80.0030.0276.40
4.3.70.0020.0196.43
4.3.60.0010.0196.43
4.3.50.0080.0176.43
4.3.40.0010.0356.38
4.3.30.0040.0175.77
4.3.20.0020.0205.75
4.3.10.0040.0175.73
4.3.00.0320.0188.92

preferences:
154.83 ms | 1386 KiB | 7 Q