From d7c50ff9a91c876f85394d3652cc1c06f3070c31 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Fri, 6 Apr 2007 21:15:44 +0000 Subject: [PATCH] - Fix unicode issue --- ext/spl/spl_array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 5b0a74d510..26ee8d5336 100755 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -480,7 +480,7 @@ static int spl_array_has_dimension_ex(int check_inherited, zval *object, zval *o case IS_STRING: case IS_UNICODE: if (check_empty) { - if (zend_symtable_find(spl_array_get_hash_table(intern, 0 TSRMLS_CC), Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, (void **) &tmp) != FAILURE && zend_is_true(*tmp)) { + if (zend_u_symtable_find(spl_array_get_hash_table(intern, 0 TSRMLS_CC), Z_TYPE_P(offset), Z_UNIVAL_P(offset), Z_UNILEN_P(offset)+1, (void **) &tmp) != FAILURE && zend_is_true(*tmp)) { return 1; } return 0; -- 2.50.1