#47552 [Opn->Csd]: Return Type Description of preg_replace_callback does not mention NULL
ID: 47552
Updated by: vrana@php.net
Reported By: artnorm at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Win32
PHP Version: Irrelevant
New Comment:
Already documented by felipe.
Previous Comments:
------------------------------------------------------------------------
[2009-03-03 18:07:48] artnorm at gmail dot com
Description:
------------
Bug #41788 preg_replace_callback returns NULL instead of input or error
This Report already named the circumstances. Although it is NOT A BUG,
the description in the documentation is not complete.
The return of the NULL value (and PHP Skalar-Type) is not mentioned,
only String and Array are mentioned.
Please add the NULL return case as well in the documentation. Thanks.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47552&edit=1
Thread (2 messages)