Re: REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix.

From: Date: Tue, 17 Sep 2002 16:40:14 +0000
Subject: Re: REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-116649@lists.php.net to get a copy of this message
It's a bug. spoke to Rasmus at some length about just before i posted it in the bug report. The online help page is inaccurate in describing the full functionality of the function: http://www.php.net/manual/en/function.register-shutdown-function.php REGISTER_SHUTDOWN_FUNCTION() is suppose to kick-off when any one of the following things happen -- Exit, Error, TIMEOUT or User Abort. According to Rasmus, the TIMEOUT functionality of this function works fine under Linux -- however, it's not working under Win32 ! There apparently is another bug with this function -- you are suppose to be able to call more than one REGISTER_SHUTDOWN_FUNCTION(), and they are suppose to executed in-order... some people are reporting that only the first encountered REGISTER_SHUTDOWN_FUNCTION() is executed, then the script exits. Someone needs to go through this function, pretty thoroughly, and get it working correctly. Being able to run code on a timeout, user-abort or error is critical. Jason "John Holmes" <holmes072000@charter.net> wrote in message news:000401c25e43$7237e240$b402a8c0@mango... > I'm not sure if that's a "bug", it's more of a feature request. > > ---John Holmes... > > > -----Original Message----- > > From: Jason Caldwell [mailto:jason@thinkingman.org] > > Sent: Tuesday, September 17, 2002 3:24 AM > > To: php-general@lists.php.net > > Subject: [PHP] REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix. > > > > I'm posting this here to give this BUG attention. It's a pretty > serious > > one > > for Win32 users, and it would be great if it could be fixed *very > > quickly* -- I posted this in the Bug Reports on PHP.net on May 27th, > 2002. > > > > Here's the link: http://bugs.php.net/bug.php?id=17461 > > > > I need to use this function to perform certain *required* tasks on a > > Timeout -- however (and please read the Bug Report, before replying) > the > > Timeout functionality of this function DOES NOT work on Win32 builds. > > > > If your a C/C++ / PHP contributor and have a moment to look into this > -- > > it > > would be great -- I would love to see this fixed in release 4.2.4 !!! > > > > Thanks > > Jason > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#116649) next »