vrana Wed Aug 18 03:48:38 2004 EDT
Modified files:
/phpdoc/en/reference/funchand/functions
register-shutdown-function.xml
Log:
Additional parameters can be passed
http://cvs.php.net/diff.php/phpdoc/en/reference/funchand/functions/register-shutdown-function.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/funchand/functions/register-shutdown-function.xml
diff -u phpdoc/en/reference/funchand/functions/register-shutdown-function.xml:1.5
phpdoc/en/reference/funchand/functions/register-shutdown-function.xml:1.6
--- phpdoc/en/reference/funchand/functions/register-shutdown-function.xml:1.5 Sun
Jun 1 16:19:24 2003
+++ phpdoc/en/reference/funchand/functions/register-shutdown-function.xml Wed
Aug 18 03:48:37 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/funchand.xml, last change in rev 1.1 -->
<refentry id="function.register-shutdown-function">
<refnamediv>
@@ -13,6 +13,8 @@
<methodsynopsis>
<type>void</type><methodname>register_shutdown_function</methodname>
<methodparam><type>callback</type><parameter>function</parameter></methodparam>
+ <methodparam
choice="opt"><type>mixed</type><parameter>parameter</parameter></methodparam>
+ <methodparam
choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
</methodsynopsis>
<simpara>
Registers the function named by <parameter>function</parameter> to be
@@ -31,6 +33,11 @@
to send output to the browser using <function>echo</function> or
<function>print</function>, or retrieve the contents of any output
buffers using <function>ob_get_contents</function>.
+ </para>
+ <para>
+ As of PHP 4, it is possible to pass parameters to shutdown function by
+ passing additional parameters to
+ <function>register_shutdown_function</function>.
</para>
<note>
<para>