From:             pedantic at jlevine dot oiiiio dot net
Operating system: Windows XP Pro
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  "Return Values" documentation needs revision in PCRE section

Description:
------------
The following pages properly document the return values of their
respective functions but don't include the "Return Values" header line
present on other function documentation pages. Adding this line to these
pages would make their documentation easier to read:
http://www.php.net/manual/en/function.preg-grep.php
http://www.php.net/manual/en/function.preg-match-all.php
http://www.php.net/manual/en/function.preg-match.php
http://www.php.net/manual/en/function.preg-split.php

This page needs the "Return Values" line as well as clearer documentation
on what values are returned:
http://www.php.net/manual/en/function.preg-quote.php

In addition to needing the "Return Values" line and clearer documentation
on the returned values themselves, there is a typo in the existing
documentation for this page. An apostrophe is needed in "functions":
http://www.php.net/manual/en/function.preg-replace-callback.php

Currently reads: "...do not clutter the function namespace with a callback
functions name..."
Should read: "...do not clutter the function namespace with a callback
function's name..."
                  ^^^


-- 
Edit bug report at http://bugs.php.net/?id=40215&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40215&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40215&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40215&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40215&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=40215&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40215&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40215&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40215&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40215&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40215&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=40215&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=40215&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40215&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40215&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40215&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40215&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40215&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40215&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40215&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40215&r=mysqlcfg

Reply via email to