php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #40215 "Return Values" documentation needs revision in PCRE section
Submitted: 2007-01-24 05:08 UTC Modified: 2007-02-02 22:12 UTC
From: pedantic at jlevine dot oiiiio dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Windows XP Pro
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
30 - 2 = ?
Subscribe to this entry?

 
 [2007-01-24 05:08 UTC] pedantic at jlevine dot oiiiio dot net
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..."
                  ^^^


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-02 22:12 UTC] didou@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:10 UTC] phpdocbot@php.net
Automatic comment on behalf of didou
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=039d648a121af78096011e75814d5badb80a5783
Log: ref.pcre: switch to new doc style # And fix #40215
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC