FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.


Home » General » PHP discussions » Variables?
Variables? [message #26169] Wed, 06 July 2005 21:06 Go to next message
esm2002  is currently offline esm2002  United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Senior Member
is there any type of memory problem by doing something like the following:

$name = "John Smith";
$name = "John Smith";
$name = "John Smith";

or maybe something like:

for (i=0; i<$m; $i++){
$name = "John Smith";
}

assuming $m is some positive integer like 10, etc




Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Re: Variables? [message #26170 is a reply to message #26169] Wed, 06 July 2005 21:17 Go to previous messageGo to next message
Ilia  is currently offline Ilia  Canada
Messages: 13241
Registered: January 2002
Senior Member
Administrator
Core Developer
no, php will overwrite (free) the old value.


FUDforum Core Developer
Re: Variables? [message #26173 is a reply to message #26170] Wed, 06 July 2005 23:28 Go to previous message
esm2002  is currently offline esm2002  United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Senior Member
thanks. appreciate the info.


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Previous Topic:maillist.php script + mbox + mailman
Next Topic:PHP 4.4.0
Goto Forum:
  


Current Time: Tue Sep 07 21:22:39 EDT 2010

Total time taken to generate the page: 0.01000 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software