From: Ævar Arnfjörð Bjarmason Date: Sat, 7 Jan 2006 05:15:49 +0000 (+0000) Subject: * Documentation X-Git-Tag: 1.6.0~732 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22sites_tous%22%29%20.%20%22?a=commitdiff_plain;h=a376283103ade19d59fd083f139a19e00e179441;p=lhc%2Fweb%2Fwiklou.git * Documentation --- 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()