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

Home » General » PHP discussions » Variables?
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
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
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
thanks. appreciate the info.



Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Mon Dec 18 05:42:29 EST 2017

Total time taken to generate the page: 0.00735 seconds