From a376283103ade19d59fd083f139a19e00e179441 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sat, 7 Jan 2006 05:15:49 +0000 Subject: [PATCH] * Documentation --- includes/compatability/ctype.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/compatability/ctype.php b/includes/compatability/ctype.php index d418306599..c38fff8128 100644 --- a/includes/compatability/ctype.php +++ b/includes/compatability/ctype.php @@ -177,7 +177,9 @@ function ctype_xdigit() { /** * PHP does some munging on ctype_*() like converting -128 <= x <= -1 to x += - * 256, 0 <= x <= 255 to chr(x) etc. that behavior. + * 256, 0 <= x <= 255 to chr(x) etc, it'll return true if x < -128 and false if + * x >= 256, true if the input is an empty string and false if it's of any + * other datatype than int or string, this function duplicates that behaviour. * * @param string $fname The name of the caller function * @param array $args The return of the callers func_get_args() -- 2.20.1