function makeMixedArray($halfSize) { return array_merge(makeIndexedArray($halfSize), makeAssocArray($halfSize)); }
function BenchmarkXarrayKeysReplace(Benchmark $b) { $arr = makeAssocArray(ARRSIZE); $b->resetTimer(); for ($i = 0; $i < $b->N(); $i++) { array_keys_replace($arr, array("ran" => "qwe")); } }