File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3149,7 +3149,7 @@ MBSTRING_API HashTable *php_mb_convert_encoding_recursive(HashTable *input, cons
3149
3149
ZVAL_COPY (& entry_tmp , entry );
3150
3150
break ;
3151
3151
case IS_ARRAY :
3152
- chash = php_mb_convert_encoding_recursive (HASH_OF (entry ), _to_encoding , _from_encodings );
3152
+ chash = php_mb_convert_encoding_recursive (Z_ARRVAL_P (entry ), _to_encoding , _from_encodings );
3153
3153
if (chash ) {
3154
3154
ZVAL_ARR (& entry_tmp , chash );
3155
3155
} else {
@@ -3248,7 +3248,7 @@ PHP_FUNCTION(mb_convert_encoding)
3248
3248
}
3249
3249
} else {
3250
3250
HashTable * tmp ;
3251
- tmp = php_mb_convert_encoding_recursive (HASH_OF (input ), arg_new , _from_encodings );
3251
+ tmp = php_mb_convert_encoding_recursive (Z_ARRVAL_P (input ), arg_new , _from_encodings );
3252
3252
RETURN_ARR (tmp );
3253
3253
}
3254
3254
@@ -4755,7 +4755,7 @@ MBSTRING_API int php_mb_check_encoding_recursive(HashTable *vars, const zend_str
4755
4755
}
4756
4756
break ;
4757
4757
case IS_ARRAY :
4758
- if (!php_mb_check_encoding_recursive (HASH_OF (entry ), enc )) {
4758
+ if (!php_mb_check_encoding_recursive (Z_ARRVAL_P (entry ), enc )) {
4759
4759
valid = 0 ;
4760
4760
break ;
4761
4761
}
@@ -4811,7 +4811,7 @@ PHP_FUNCTION(mb_check_encoding)
4811
4811
}
4812
4812
break ;
4813
4813
case IS_ARRAY :
4814
- if (!php_mb_check_encoding_recursive (HASH_OF (input ), enc )) {
4814
+ if (!php_mb_check_encoding_recursive (Z_ARRVAL_P (input ), enc )) {
4815
4815
RETURN_FALSE ;
4816
4816
}
4817
4817
break ;
You can’t perform that action at this time.
0 commit comments