Re: Re: 5.0.5
| From: | Derick Rethans | Date: | Thu, 08 Sep 2005 11:20:21 +0000 |
| Subject: | Re: Re: 5.0.5 | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18711@lists.php.net to get a copy of this message | ||
On Thu, 8 Sep 2005, Stanislav Malyshev wrote:
> EK>>I do belive that we should have kept BC here and allow use of objects
> EK>>in shutdown functions, ie. call them before calling object
> EK>>destructors.
>
> We have classical c&e problem here - if we defer dtors to after shutdowns,
> they couldn't do things like close files, finalize DB connections, etc.
> Many people think dtors are meant to do that.
But they can still do that.. With "shutdown functions" I meant functions
registered with register_shutdown_function().
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org