1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 09:28:21 +02:00

fix arrays with NULL keys in Unicode mode

This commit is contained in:
Antony Dovgal
2007-05-04 11:48:08 +00:00
parent 9d5afbdfc4
commit 46e31cf72e
+2 -2
View File
@@ -926,8 +926,8 @@ static inline zval **zend_fetch_dimension_address_inner(HashTable *ht, zval *dim
switch (ztype) {
case IS_NULL:
ztype = IS_STRING;
offset_key.s = "";
ztype = ZEND_STR_TYPE;
offset_key = EMPTY_ZSTR;
offset_key_length = 0;
goto fetch_string_dim;