From: Dmitry Stogov Date: Wed, 17 Aug 2005 14:16:05 +0000 (+0000) Subject: Unicode support X-Git-Tag: PRE_NEW_OCI8_EXTENSION~195 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0df66e7eaaf0057dd7082441fba9682fee0de537;p=php Unicode support --- diff --git a/ext/ctype/ctype.c b/ext/ctype/ctype.c index eae5bf68ee..9a5eb32330 100644 --- a/ext/ctype/ctype.c +++ b/ext/ctype/ctype.c @@ -105,6 +105,8 @@ PHP_MINFO_FUNCTION(ctype) SEPARATE_ZVAL(&c); \ convert_to_string(c); \ case IS_STRING: \ + case IS_BINARY: \ +string:\ { \ char *p = Z_STRVAL_P(c), *e = Z_STRVAL_P(c) + Z_STRLEN_P(c); \ if (e == p) { \ @@ -115,6 +117,9 @@ PHP_MINFO_FUNCTION(ctype) } \ RETURN_TRUE; \ } \ + case IS_UNICODE: \ + convert_to_string(c); \ + goto string; \ default: \ break; \ } \