Doc #65001 [NEW]: string argument length limits for preg_match() are not written in the man page
| From: | bakaburg1 at gmail dot com | Date: | Sun, 09 Jun 2013 22:58:26 +0000 |
| Subject: | Doc #65001 [NEW]: string argument length limits for preg_match() are not written in the man page | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-9908@lists.php.net to get a copy of this message | ||
From: bakaburg1 at gmail dot com
Operating system:
PHP version: 5.4.16
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:string argument length limits for preg_match() are not written in the man page
Description:
------------
---
From manual page:
http://www.php.net/function.preg-match#refsect1-function.preg-
match-parameters
---
I got crazy to understand why preg_match() in my script wasn't working than
I
realize that the problem could have been in the length of the string I was
passing
to it.
A little search and indeed there was a length limiti for the passed
string.
Well I think it should be written pretty clearly in the function manual
page,
together with ways to circumvent the problem (increase the limit or
substr[inging]). It would be quite useful, especially for newbies that
could not
be able to solve the problem by themselves easily.
--
Edit bug report at https://bugs.php.net/bug.php?id=65001&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65001&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65001&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65001&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65001&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65001&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65001&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65001&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65001&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65001&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65001&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65001&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65001&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65001&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65001&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65001&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65001&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65001&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65001&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65001&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65001&r=mysqlcfg