Browse Source

Oi

migration/RELEASE_1_0_0
Sara Golemon 20 years ago
parent
commit
9b4bc8d489
  1. 2
      ext/standard/type.c

2
ext/standard/type.c

@ -246,7 +246,7 @@ static void php_is_type(INTERNAL_FUNCTION_PARAMETERS, int type)
RETURN_FALSE;
}
#else /* WIN32 -- U_STRING_DECL breaks under Win32 with string macros */
char *ascii_name = zend_unicode_to_ascii(ce->name.u, ce->name_length TSRSMLS_CC);
char *ascii_name = zend_unicode_to_ascii(ce->name.u, ce->name_length TSRMLS_CC);
if (ascii_name) {
if (memcmp(INCOMPLETE_CLASS, ascii_name, sizeof(INCOMPLETE_CLASS) - 1) == 0) {

Loading…
Cancel
Save