From: foobar Date: Sat, 9 Mar 2002 00:26:09 +0000 (+0000) Subject: MFH the MacosX compile fix. X-Git-Tag: php-4.2.0RC1~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e98e2d832a730be95eab4330baf71148765999a;p=php MFH the MacosX compile fix. --- diff --git a/ext/ctype/ctype.c b/ext/ctype/ctype.c index 59a16455e1..1298298ed5 100644 --- a/ext/ctype/ctype.c +++ b/ext/ctype/ctype.c @@ -91,43 +91,36 @@ PHP_MINFO_FUNCTION(ctype) /* {{{ ctype */ -static int ctype(int (*iswhat)(int), zval **c) -{ - switch (Z_TYPE_PP(c)) { - case IS_LONG: - return iswhat(Z_LVAL_PP(c)); - case IS_STRING: - { - char *p; - int n, len; - p=Z_STRVAL_PP(c); - len = Z_STRLEN_PP(c); - for(n=0;n