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:
+2
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user