Hi,
I have a function like
function RetLargeArray()
{
// Here I create a five-dimensional array named $result
return $result;
}
I call the function like this
$res = RetLargeArray()
Will this lead to copying of the five-D array created inside the function?
If yes, how do I avoid this? (One way is to pass this array by reference to this function. Are there other ways to do this?)
Thanks,