#47552 [Opn->Csd]: Return Type Description of preg_replace_callback does not mention NULL

From: Date: Thu, 19 Nov 2009 11:54:46 +0000
Subject: #47552 [Opn->Csd]: Return Type Description of preg_replace_callback does not mention NULL
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3237@lists.php.net to get a copy of this message
 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)

« previous php.doc.bugs (#3237) next »