By doing this:
<?php
$someArray=array("this","that","those");
for(something to loop)
do something with $someArray here;
?>
is PHP using the same amount of memory as this:
<?php
$someArray=array("this","that","those");
somefunction($someArray);
function somefunction(&$ref_to_array)
{
for(something to loop)
do something with $ref_to_array here;
}
?>
because it seems to me, that the script gets a little slower when I
introduce the function method.
____________________________
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]