#40272 [Opn->Csd]: Wrong info in preg_match_all documentation
| From: | didou@php.net | Date: | Fri, 02 Feb 2007 02:44:27 +0000 |
| Subject: | #40272 [Opn->Csd]: Wrong info in preg_match_all documentation | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969375157@lists.php.net to get a copy of this message | ||
ID: 40272
Updated by: didou@php.net
Reported By: carlmonte_ at hotmail dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Ubuntu 6.06.1
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2007-01-29 11:46:39] carlmonte_ at hotmail dot com
Description:
------------
Documentation for preg_match_all when called using flag
PREG_OFFSET_CAPTURE says "Note that this changes the return value in an
array ...", which changes is the $matches parameter.
That is a misundertanding doc, because I report it.
Reproduce code:
---------------
Note that this changes the return value in an array ...
Expected result:
----------------
Note that this changes the $matches parameter in an array ...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40272&edit=1