note 40501 added to function.register-shutdown-function

From: Date: Fri, 05 Mar 2004 17:00:36 +0000
Subject: note 40501 added to function.register-shutdown-function
Groups: php.notes 
Request: Send a blank email to php-notes+get-66305@lists.php.net to get a copy of this message
Oddly enough, I am able to printout data and trigger_errors() in my shutdown function on FreeBSD-4.9/Apache-1.3.26/PHP-4.3.1. Test code: <?php register_shutdown_function('foo'); function foo() { print "printout!\n\n"; trigger_error("notice!", E_USER_NOTICE); trigger_error("error!", E_USER_ERROR); } ?>Normal output. Printout: Normal output.printout! Notice: notice! in /home/dev/data/blu0301-anarcat/php/test/test_shut.php on line 7 Fatal error: error! in /home/dev/data/blu0301-anarcat/php/test/test_shut.php on line 8 ---- Manual Page -- http://www.php.net/manual/en/function.register-shutdown-function.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40501 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40501&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40501&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#66305) next »