#35873 [Opn->Csd]: The documentation for ctype regarding the passing of integer values is confusin
| From: | vrana@php.net | Date: | Tue, 03 Jan 2006 16:34:37 +0000 |
| Subject: | #35873 [Opn->Csd]: The documentation for ctype regarding the passing of integer values is confusin | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969371414@lists.php.net to get a copy of this message | ||
ID: 35873
Updated by: vrana@php.net
Reported By: avarab at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: GNU/Linux
PHP Version: Irrelevant
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2006-01-03 01:18:17] avarab at gmail dot com
Description:
------------
The ctype documentation (http://www.php.net/ctype) states that: "If the
number is between -128 (inclusive) and 0 then 256 will be added and the
check will be done on that."
First of all (inclusive) shouldn't be in parentheses because they
should only contain superfluous information, which isn't the case here,
furthermore it's unlclear at first, at least to me, whether "inclusive"
applies for the whole range or just the start of it as is the case.
The documentation should be changed to:
"If the number is between -128 and -1 inclusive then 256 will be added
and the check will be done on that."
Which is less confusing and doesn't place essential information in
parentheses.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35873&edit=1