From 33abe5ee48add8335b8adddcf6a26fda7a777e03 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Sat, 31 May 2003 14:48:44 +0000 Subject: [PATCH] Returns void, not int. And generates E_WARNING for undefined functions. This closes bug #23918 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129633 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../funchand/functions/register-shutdown-function.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/reference/funchand/functions/register-shutdown-function.xml b/reference/funchand/functions/register-shutdown-function.xml index 60b7efbf9a..2bcae86271 100644 --- a/reference/funchand/functions/register-shutdown-function.xml +++ b/reference/funchand/functions/register-shutdown-function.xml @@ -1,5 +1,5 @@ - + @@ -11,12 +11,14 @@ Description - intregister_shutdown_function + voidregister_shutdown_function callbackfunction Registers the function named by function to be - executed when script processing is complete. + executed when script processing is complete. If the function + function does not exist (undefined), an error of + level E_WARNING is generated. Multiple calls to register_shutdown_function can be