Posted by Ewoud Dronkert on 09/29/05 12:09
Bob Bedford wrote:
> array_push($bigarray["Y"],$value5);
> but array_push doesn't manage it.
Try $big_array['Y'][] = $value5;
In the manual it says "has the same effect" but maybe the implementation
is different? I don't know. It also says:
"Note: If you use array_push() to add one element to the array it's better
to use $array[] = because in that way there is no overhead of calling a
function."
--
E. Dronkert
[Back to original message]
|