dmitry          Fri Aug 12 08:59:20 2005 EDT

  Modified files:              
    /php-src/ext/spl    spl_array.c 
  Log:
  Unicode support
  
  
http://cvs.php.net/diff.php/php-src/ext/spl/spl_array.c?r1=1.75&r2=1.76&ty=u
Index: php-src/ext/spl/spl_array.c
diff -u php-src/ext/spl/spl_array.c:1.75 php-src/ext/spl/spl_array.c:1.76
--- php-src/ext/spl/spl_array.c:1.75    Fri Aug 12 08:14:31 2005
+++ php-src/ext/spl/spl_array.c Fri Aug 12 08:59:20 2005
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: spl_array.c,v 1.75 2005/08/12 12:14:31 dmitry Exp $ */
+/* $Id: spl_array.c,v 1.76 2005/08/12 12:59:20 dmitry Exp $ */
 
 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -442,6 +442,8 @@
 
        switch(Z_TYPE_P(offset)) {
        case IS_STRING:
+       case IS_BINARY:
+       case IS_UNICODE:
                if (spl_array_get_hash_table(intern, 0 TSRMLS_CC) == 
&EG(symbol_table)) {
                        if (zend_u_delete_global_variable(Z_TYPE_P(offset), 
Z_UNIVAL_P(offset), Z_UNILEN_P(offset) TSRMLS_CC)) {
                                zend_error(E_NOTICE,"Undefined index:  %s", 
Z_STRVAL_P(offset));

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

Reply via email to