Doc #63754 [NEW]: preg_match changelog missing entry when $matches became optional in 5.4.0
| From: | php dot net at web dot wnsr dot net | Date: | Thu, 13 Dec 2012 01:55:44 +0000 |
| Subject: | Doc #63754 [NEW]: preg_match changelog missing entry when $matches became optional in 5.4.0 | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-9283@lists.php.net to get a copy of this message | ||
From: php dot net at web dot wnsr dot net
Operating system: Irrelevant
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:preg_match changelog missing entry when $matches became optional in 5.4.0
Description:
------------
---
From manual page:
http://www.php.net/function.preg-match#refsect1-function.preg-
match-changelog
---
The function signature for preg_match indicates $matches (the third
argument) is
optional. However, it was only made optional in PHP 5.4.0:
http://php.net/ChangeLog-5.php#5.4.0
""""
Improved preg extension
Changed third parameter of preg_match_all() to optional. #53238.
""""
The changelog for this function should reflect this, so that readers still
using
versions earlier than PHP 5.4 will understand why they get errors if they
attempt to leave off the third argument.
Expected result:
----------------
I would expect the changelog for the preg_match function documentation to
show
that the third argument was made optional in PHP 5.4.0.
--
Edit bug report at https://bugs.php.net/bug.php?id=63754&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63754&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63754&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63754&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=63754&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=63754&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63754&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=63754&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=63754&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=63754&r=support
Expected behavior: https://bugs.php.net/fix.php?id=63754&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=63754&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=63754&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=63754&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63754&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=63754&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=63754&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=63754&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63754&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63754&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=63754&r=mysqlcfg