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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pedantic at jlevine dot oiiiio dot net
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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 May 16 12:01:32 2024 UTC