Fixed bug #48969 (register_shutdown_function() buggy in combination with set_error_handler())

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293478 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kalle Sommer Nielsen 2010-01-13 02:09:45 +00:00
parent 92b7deb011
commit 428ce16274
4 changed files with 17 additions and 0 deletions

View file

@ -32,6 +32,10 @@ will cause PHP to hang until the execution of the program ends.</para></note>'>
array containing an object reference and a method name can also be
supplied.</simpara></note>'>
<!ENTITY note.func-callback-exceptions '<note xmlns="http://docbook.org/ns/docbook"><note><para>Note callbacks registered
with functions such as <function>call_user_func</function> and <function>call_user_func_array</function> if theres is
uncaught exception thrown in a previous callback.</para></note>'>
<!ENTITY note.funcnoparam '<note xmlns="http://docbook.org/ns/docbook"><para>Because this function depends on the
current scope to determine parameter details, it cannot be used as a
function parameter. If this value must be passed, the results should be assigned

View file

@ -164,6 +164,8 @@ print implode(' ', $new_numbers);
</simpara>
</note>
&note.func-callback-exceptions;
</sect2>
<sect2 xml:id="language.types.void">

View file

@ -50,6 +50,11 @@
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
&note.func-callback-exceptions;
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
@ -151,6 +156,7 @@ int(8)
by a value or by a reference.
</para>
</note>
&note.func-callback-exceptions;
</refsect1>
<refsect1 role="seealso">

View file

@ -195,6 +195,11 @@ call_user_func(function($arg) { print "[$arg]\n"; }, 'test'); /* As of PHP 5.3.0
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
&note.func-callback-exceptions;
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>