From 3d2caccec6dd6f6ec9db31241bf4cd5e4d7876d3 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Wed, 18 Aug 2004 07:48:37 +0000 Subject: [PATCH] Additional parameters can be passed git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166651 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../funchand/functions/register-shutdown-function.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reference/funchand/functions/register-shutdown-function.xml b/reference/funchand/functions/register-shutdown-function.xml index 411e5c4799..79e9cd1612 100644 --- a/reference/funchand/functions/register-shutdown-function.xml +++ b/reference/funchand/functions/register-shutdown-function.xml @@ -1,5 +1,5 @@ - + @@ -13,6 +13,8 @@ voidregister_shutdown_function callbackfunction + mixedparameter + mixed... Registers the function named by function to be @@ -32,6 +34,11 @@ print, or retrieve the contents of any output buffers using ob_get_contents. + + As of PHP 4, it is possible to pass parameters to shutdown function by + passing additional parameters to + register_shutdown_function. + Typically undefined functions cause fatal errors in PHP, but when the