Re: Can a PHP 5 Object Be Persisted Past Script End?

From: Date: Thu, 17 Aug 2006 21:05:41 +0000
Subject: Re: Can a PHP 5 Object Be Persisted Past Script End?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-240828@lists.php.net to get a copy of this message
Bruce Bailey wrote:
Hi In order to improve performance for a socket-based PHP 5 object, I would like to persist an object beyond the end of a script. Is there any way to make this work? Will PHP 5 automatically destroy the object sometime after the script ends? Thanks in Advance, Bruce _________________________________________________________________ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
Yes (it will destroy them), but you can look into persistent sockets, and serializing objects. Info is in the manual. Regards, Adam.

« previous php.general (#240828) next »