#47552 [NEW]: Return Type Description of preg_replace_callback does not mention NULL
| From: | artnorm at gmail dot com | Date: | Tue, 03 Mar 2009 18:07:49 +0000 |
| Subject: | #47552 [NEW]: Return Type Description of preg_replace_callback does not mention NULL | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-1935@lists.php.net to get a copy of this message | ||
From: artnorm at gmail dot com
Operating system: Win32
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Return Type Description of preg_replace_callback does not mention NULL
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 bug report at http://bugs.php.net/?id=47552&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47552&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47552&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47552&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47552&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47552&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47552&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47552&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47552&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47552&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47552&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47552&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47552&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47552&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47552&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47552&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47552&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47552&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47552&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47552&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47552&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47552&r=mysqlcfg