add almost forgotten file: array_column.php

pull/231/head
David Goodwin 6 years ago
parent 803e2342f8
commit e26877f2f9

@ -0,0 +1,8 @@
<?php
function array_column(array $array, $column) {
$retval = array();
foreach ($array as $row) {
$retval[] = $row[$column];
}
return $retval;
}
Loading…
Cancel
Save