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

Home » General » PHP discussions » Variables?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Variables? [message #26169] Thu, 07 July 2005 01:06 Go to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
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] Thu, 07 July 2005 01:17 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
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] Thu, 07 July 2005 03:28 Go to previous message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
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."
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: maillist.php script + mbox + mailman
Next Topic: PHP 4.4.0
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 12:26:36 GMT 2024

Total time taken to generate the page: 0.02641 seconds