Re: Bug #4095: register_shutdown_function not called on exit
| From: | Tom Anheyer | Date: | Tue, 11 Apr 2000 07:43:57 +0000 |
| Subject: | Re: Bug #4095: register_shutdown_function not called on exit | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-17796@lists.php.net to get a copy of this message | ||
> From: bdew@humber.net
> Operating system: win32
> PHP version: 3.0.16
> PHP Bug Type: Misbehaving function
> Bug description: register_shutdown_function not called on exit
>
> The function set with register_shutdown_function
> is not called following exit;
> (This worked in earlier versions, I believe up to 3.0.15)
I have seen the same on php-4.0Beta4 and php-4.0RC1 on LAMP systems.
I think the problem is that the module shutdown runs before calling the
list destructors and the module shutdown removes the list destructors.
The problem appears only if the module is loaded via dl().
tom
--
Tom Anheyer
G+J BerlinOnline GmbH Tel. : +49-(0)30-2327-5210
im Pressehaus am Alexanderplatz Fax: +49-(0)30-2327-5596
Karl-Liebknecht-Straße 29 E-Mail: Tom.Anheyer@BerlinOnline.de
D-10178 Berlin URL: http://www.BerlinOnline.de
BerlinOnline ist ein Service von Berliner Zeitung, TIP BerlinMagazin,
Berliner Kurier und Berliner Abendblatt.