View Single Post
Old 08-04-2008, 06:17 PM   #6 (permalink)
xenon
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

Well, technically, no. The destructor is called when the script has ended, but the memory allocated for the object remains allocated until the garbage collector comes and wipes everything related to the php that's not used anymore. If you were asking if objects are persistent from one page to another, then no. Nothing in PHP is persistent, as all cgi modules use the HTTP protocol as a foundation to run on. And HTTP is a stateless protocol, as we all have learned.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote