Re: Bug #13219 Updated: register_shutdown_function doesn't work

From: Date: Sun, 09 Sep 2001 09:28:10 +0000
Subject: Re: Bug #13219 Updated: register_shutdown_function doesn't work
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-65533@lists.php.net to get a copy of this message
On 9 Sep 2001 jasperherik@hotmail.com wrote: > ID: 13219 > User updated by: jasperherik@hotmail.com > Reported By: jasperherik@hotmail.com > Status: Bogus > Bug Type: Unknown/Other Function > Operating System: Windows 98 > PHP Version: 4.0.6 > New Comment: > > what should i do to make it work? > Remove your if statement, its simply register_shutdown_function("end_func"); -Sterling Ps: Support questions should really be asked on php-general@lists.php.net :) > Previous Comments: > ------------------------------------------------------------------------ > > [2001-09-09 05:14:00] sterling@php.net > > register_shutdown_function() returns void, this is not a bug > > ------------------------------------------------------------------------ > > [2001-09-09 05:10:48] jasperherik@hotmail.com > > I've got php4.06, Build Date Jun 22 2001, and when i try to run the following script: > > <? > if (!register_shutdown_function("end_func")) > echo("register_shutdown_function doesn't work..."); > function end_func() { > echo("This is the end of the script"); } > ?> > > it outputs > > register_shutdown_function doesn't work... > > When i had an older version of PHP (i think it was three) i worked perfectly, but now that > i've upgraded, the very same script doesn't work anymore... > > i have phpdev4 as server(http://www.firepages.com.au/phpdev4.htm) > > ------------------------------------------------------------------------ > > > > Edit this bug report at > http://bugs.php.net/?id=13219&edit=1 > > >

« previous php.dev (#65533) next »