Re: Exception thrown without a stack frame

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



wayyyyy offf topic-ish here..

class destructors, surely they differ from the register_shutdown_function in execution style? seeing as one can echo / do a bit of jiggery pokery before the buffers close.

what exactly is the difference?

Richard Lynch wrote:
On Fri, January 25, 2008 1:31 pm, Jochem Maas wrote:
setup as via register_shutdown_function().

I missed that bit.

Sorry for the noise.

shutdown functions are run outside the normal context of PHP, and need
special care.

Output won't go anywhere, and try/catch won't work, as the bulk of the
PHP "guts" have already gone away.


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux