php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #50032 typo in function parameter definition documentation
Submitted: 2009-10-29 05:20 UTC Modified: 2009-10-29 10:58 UTC
From: jeff at jeffschuler dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jeff at jeffschuler dot net
New email:
PHP Version: OS:

 

 [2009-10-29 05:20 UTC] jeff at jeffschuler dot net
Description:
------------
in online docs for preg_match ( http://us3.php.net/preg_match )

in the description of the "flags" parameter

"Note that this changes the return value ***in an array*** where every element is..."

should be 

"...into an array..."

Reproduce code:
---------------
---
From manual page: function.preg-match#Parameters
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-29 10:58 UTC] svn@php.net
Automatic comment from SVN on behalf of rquadling
Revision: http://svn.php.net/viewvc/?view=revision&revision=290051
Log: PREG_OFFSET_CAPTURE flag consistent between preg_match and preg_match_all. Fix #50032
 [2009-10-29 10:58 UTC] rquadling@php.net
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.


 [2020-02-07 06:09 UTC] phpdocbot@php.net
Automatic comment on behalf of rquadling
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=7dbdeb80f52354fef58e707f4fb47800e8de56f1
Log: PREG_OFFSET_CAPTURE flag consistent between preg_match and preg_match_all. Fix #50032
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 02:00:01 2026 UTC