mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Additional parameters can be passed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166651 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f38eb15de0
commit
3d2caccec6
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
@ -32,6 +34,11 @@
|
|||
<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>
|
||||
Typically undefined functions cause fatal errors in PHP, but when the
|
||||
|
|
Loading…
Reference in a new issue