Posted by meltedown on 03/06/06 17:39
Normally, if I use
$result=print_r($array,TRUE);
print_r prints nothing and $result is equal to the readable array.
However, if $array is very large, print_r prints the array and returns
nothing.
Is this correct ? I don't see anything about this in the the manual.
I have tried limiting the size to array to see exactly how large the
array has to be to trigger this behavior, but the exact size seems to be
variable or it depends on some other factor. Can anyone explain what is
the deciding factor ?
[Back to original message]
|