php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63494 Bracket indicates 3rd argument is optional when it is required.
Submitted: 2012-11-12 11:13 UTC Modified: 2012-11-12 11:48 UTC
From: matt at zercat dot net Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: Debian
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: matt at zercat dot net
New email:
PHP Version: OS:

 

 [2012-11-12 11:13 UTC] matt at zercat dot net
Description:
------------
Documentation bracket indicates 3rd argument is optional when it is required.
---
From manual page: http://www.php.net/function.preg-match-all#refsect1-function.preg-match-all-description
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-12 11:48 UTC] aharvey@php.net
preg_match_all() doesn't require a third parameter in PHP 5.4.0 and later, per 
the changelog.
 [2012-11-12 11:48 UTC] aharvey@php.net
-Status: Open +Status: Not a bug
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 03:00:02 2026 UTC