php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #39238 Wrong "return values" description for ctype_cntrl
Submitted: 2006-10-23 15:13 UTC Modified: 2006-11-04 09:17 UTC
From: b0rland at yahoo dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: b0rland at yahoo dot com
New email:
PHP Version: OS:

 

 [2006-10-23 15:13 UTC] b0rland at yahoo dot com
Description:
------------
http://ua2.php.net/manual/en/function.ctype-cntrl.php
Incorrect "Return Values" text. Probably a copy-paste from ctype_alpha help and incorrect for this functon (and quite misleading for a newbie).
See expected/actual results fields.

Expected result:
----------------
Something like:
"Return Values

Returns TRUE if every character in text is a control character, FALSE otherwise." 

Actual result:
--------------
"Return Values

Returns TRUE if every character in text is a letter from the current locale, FALSE otherwise."


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-04 09:17 UTC] dave@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:11 UTC] phpdocbot@php.net
Automatic comment on behalf of dave
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=3988b776a74966e50f635a66d37044364c9ab6dc
Log: - Fix #39238.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Aug 03 11:00:03 2025 UTC