johannes                Sun Sep 17 09:39:04 2006 UTC

  Modified files:              
    /php-src/ext/reflection     php_reflection.c 
  Log:
  - Unicode fix
  
http://cvs.php.net/viewvc.cgi/php-src/ext/reflection/php_reflection.c?r1=1.254&r2=1.255&diff_format=u
Index: php-src/ext/reflection/php_reflection.c
diff -u php-src/ext/reflection/php_reflection.c:1.254 
php-src/ext/reflection/php_reflection.c:1.255
--- php-src/ext/reflection/php_reflection.c:1.254       Mon Sep 11 21:21:27 2006
+++ php-src/ext/reflection/php_reflection.c     Sun Sep 17 09:39:04 2006
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_reflection.c,v 1.254 2006/09/11 21:21:27 johannes Exp $ */
+/* $Id: php_reflection.c,v 1.255 2006/09/17 09:39:04 johannes Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -3532,8 +3532,7 @@
                        zval *interface;
                        ALLOC_ZVAL(interface);
                        zend_reflection_class_factory(ce->interfaces[i], 
interface TSRMLS_CC);
-                       /* FIXME: Unicode support??? */
-                       add_assoc_zval_ex(return_value, 
ce->interfaces[i]->name.s, ce->interfaces[i]->name_length + 1, interface);
+                       add_u_assoc_zval_ex(return_value, 
UG(unicode)?IS_UNICODE:IS_STRING, ce->interfaces[i]->name, 
ce->interfaces[i]->name_length + 1, interface);
                }
        }
 }
@@ -4883,7 +4882,7 @@
        php_info_print_table_start();
        php_info_print_table_header(2, "Reflection", "enabled");
 
-       php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.254 
2006/09/11 21:21:27 johannes Exp $");
+       php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 1.255 
2006/09/17 09:39:04 johannes Exp $");
 
        php_info_print_table_end();
 } /* }}} */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to