// (etc.)
$last =& $last[$value];
}
if (isset($last))
{
if ($dupl) $last[$cx] = $row; else $last = $row; }
unset($last); }
else return NULL;
return $out;
}
$data = Array(Array('name' => 'row 1', 'foo' => 'foo_a', 'bar' => 'bar_a', 'baz' => 'baz_a'),
Array('name' => 'row 2', 'foo' => 'foo_a', 'bar' => 'bar_a', 'baz' => 'baz_b'),
Array('name' => 'row 3', 'foo' => 'foo_a', 'bar' => 'bar_b', 'baz' => 'baz_c'),
Array('name' => 'row 4', 'foo' => 'foo_b', 'bar' => 'bar_c', 'baz' => 'baz_d')
);
print_r(array_key_by
7/11 首页 上一页 5 6 7 8 9 10 下一页 尾页 |