Click here to Skip to main content
16,012,843 members
Home / Discussions / Web Development
   

Web Development

 
GeneralGet Host Address Pin
Jason Weibel8-Jul-02 5:11
Jason Weibel8-Jul-02 5:11 
GeneralRe: Get Host Address Pin
Richard Deeming9-Jul-02 2:46
mveRichard Deeming9-Jul-02 2:46 
GeneralRe: (PHP) Destroying variables Pin
Not Active8-Jul-02 3:21
mentorNot Active8-Jul-02 3:21 
GeneralRe: (PHP) Destroying variables Pin
Not Active8-Jul-02 4:37
mentorNot Active8-Jul-02 4:37 
GeneralRe: (PHP) Destroying variables Pin
Rickard Andersson208-Jul-02 4:56
Rickard Andersson208-Jul-02 4:56 
GeneralRe: (PHP) Destroying variables Pin
Jeremy Falcon8-Jul-02 5:16
professionalJeremy Falcon8-Jul-02 5:16 
GeneralRe: (PHP) Destroying variables Pin
Nnamdi Onyeyiri8-Jul-02 6:06
Nnamdi Onyeyiri8-Jul-02 6:06 
GeneralRe: (PHP) Destroying variables Pin
Jeremy Falcon8-Jul-02 7:15
professionalJeremy Falcon8-Jul-02 7:15 
You can use unset() to explicitly destroy variables, but variables are destroyed at the end of the life of their scope anyway. So, unless they are static or have global scope they'll be cleaned up at the end of the function. For instance, if I use a local variable $foo in the function bar, it'll be destroyed anyway when bar returns.

In short, you don't have to. And, you'll find this method of variable handling holds true in many languages other than just PHP.

Jeremy L. Falcon<nobr>
Homepage : Sonork = 100.16311

"The height of your accomplishments will equal the depth of your convictions."

- William F. Scolavino

GeneralRe: (PHP) Destroying variables Pin
Jon Sagara9-Jul-02 5:58
Jon Sagara9-Jul-02 5:58 
GeneralASP.NET bugger Pin
Nick Parker7-Jul-02 17:28
protectorNick Parker7-Jul-02 17:28 
GeneralRe: ASP.NET bugger Pin
Mazdak7-Jul-02 18:34
Mazdak7-Jul-02 18:34 
GeneralRe: ASP.NET bugger Pin
Nick Parker8-Jul-02 1:17
protectorNick Parker8-Jul-02 1:17 
GeneralRe: ASP.NET bugger Pin
Richard Deeming9-Jul-02 3:01
mveRichard Deeming9-Jul-02 3:01 
GeneralRe: ASP.NET bugger Pin
Nick Parker9-Jul-02 3:03
protectorNick Parker9-Jul-02 3:03 
GeneralFree ASP.NET hosting! ( Check this out! ) Pin
Rickard Andersson207-Jul-02 10:22
Rickard Andersson207-Jul-02 10:22 
GeneralRe: Free ASP.NET hosting! ( Check this out! ) Pin
Matt Newman7-Jul-02 16:15
Matt Newman7-Jul-02 16:15 
GeneralRe: Free ASP.NET hosting! ( Check this out! ) Pin
Rickard Andersson208-Jul-02 4:52
Rickard Andersson208-Jul-02 4:52 
GeneralRe: Free ASP.NET hosting! ( Check this out! ) Pin
SimonS8-Jul-02 5:33
SimonS8-Jul-02 5:33 
GeneralRe: Free ASP.NET hosting! ( Check this out! ) Pin
Matt Newman8-Jul-02 6:51
Matt Newman8-Jul-02 6:51 
GeneralRe: Free ASP.NET hosting! ( Check this out! ) Pin
Domenic Denicola9-Jul-02 4:45
Domenic Denicola9-Jul-02 4:45 
GeneralRe: Free ASP.NET hosting! ( Check this out! ) Pin
Matt Newman9-Jul-02 5:08
Matt Newman9-Jul-02 5:08 
QuestionASP.NET support? Pin
Rickard Andersson206-Jul-02 11:36
Rickard Andersson206-Jul-02 11:36 
AnswerRe: ASP.NET support? Pin
Matt Newman6-Jul-02 12:30
Matt Newman6-Jul-02 12:30 
GeneralRe: ASP.NET support? Pin
Rickard Andersson206-Jul-02 13:05
Rickard Andersson206-Jul-02 13:05 
GeneralRe: ASP.NET support? Pin
Matt Newman6-Jul-02 13:38
Matt Newman6-Jul-02 13:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.