Of late I've been reusing variable in my code, for
example.

$string = "when in the course of human events";

[ additional lines of code ]


$string = explode("  ", $string);

[ additional lines of code ]


$string=implode("|",$string);

{more code]

$string=substr($string,x,y);

on and on, but string always representing the same
data just in a different format or a diffect section
of the data.

odd question, but if variables are stored in memory
until the script terminates, that includes old unused
variable, isnít it more efficient, memory wise, to
reuse old variables that reference, in effect the same
basic data, rather than create new or additional
variables

rm

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
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]

Reply via email to