On 11/2/06, Richard Lynch <[EMAIL PROTECTED]> wrote:

Resources (e.g., MySQL connections) are released at the end of a
script, and will not be resurrectable, at least not in PHP 4 & 5 as I
understand it.


Since this hasn't been said yet...

When working with resources, objects can use the __sleep and __wakeup
magic methods to close and re-create said resources.

http://us2.php.net/manual/en/language.oop.magic-functions.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to