ID: 13219 Updated by: jeroen Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Unknown/Other Function Operating System: Windows 98 PHP Version: 4.0.6 New Comment: end_func isn't called until the script ends, i.e. you won't see the output anymore since the page already has been sent to the browser. That's in the manual by the way. Previous Comments: ------------------------------------------------------------------------ [2001-09-09 05:21:27] [EMAIL PROTECTED] what should i do to make it work? ------------------------------------------------------------------------ [2001-09-09 05:14:00] [EMAIL PROTECTED] register_shutdown_function() returns void, this is not a bug ------------------------------------------------------------------------ [2001-09-09 05:10:48] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]