]> granicus.if.org Git - php/commitdiff
fix minor issue in autoload with unicode enabled
authorAntony Dovgal <tony2001@php.net>
Wed, 30 Aug 2006 12:32:20 +0000 (12:32 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 30 Aug 2006 12:32:20 +0000 (12:32 +0000)
Zend/zend_execute_API.c

index 9b60af2a20ba36822e8941f45034606d4d3c2f7c..b9282bba5d6f25309a29e8a6ac92c57c0afa43ca 100644 (file)
@@ -1121,7 +1121,7 @@ ZEND_API int zend_u_lookup_class_ex(zend_uchar type, zstr name, int name_length,
 
        ALLOC_ZVAL(class_name_ptr);
        INIT_PZVAL(class_name_ptr);
-       ZVAL_TEXTL(class_name_ptr, name, name_length, 1);
+       ZVAL_ZSTRL(class_name_ptr, name, name_length, type, 1);
 
        args[0] = &class_name_ptr;