Doc #51738 [NEW]: problem with documentation
| From: | ignazio dot mostallino at gmail dot com | Date: | Tue, 04 May 2010 12:52:38 +0000 |
| Subject: | Doc #51738 [NEW]: problem with documentation | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-4310@lists.php.net to get a copy of this message | ||
From:
Operating system: Linux
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:problem with documentation
Description:
------------
This phrase in the documentation is a bit contradictory:
"preg_match() returns the number of times pattern matches. That will be
either 0
times (no match) or 1 time because preg_match() will stop searching after
the
first match."
The first part says that preg_match returns the number of times a patterne
matches, but the second part says that it only returns 0 or 1... I suggest
to
change it with something like:
preg_match() returns either 0 (no match) or 1(at least one match is found),
because it will stop searching after the first match.
--
Edit bug report at http://bugs.php.net/bug.php?id=51738&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51738&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51738&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51738&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=51738&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51738&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=51738&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=51738&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=51738&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=51738&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=51738&r=support
Expected behavior: http://bugs.php.net/fix.php?id=51738&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=51738&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=51738&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=51738&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51738&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=51738&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=51738&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=51738&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=51738&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=51738&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=51738&r=mysqlcfg