|
|
|
@ -919,7 +919,7 @@ static inline HashTable *zend_get_target_symbol_table(zend_op *opline, temp_vari |
|
|
|
|
|
|
|
static inline zval **zend_fetch_dimension_address_inner(HashTable *ht, zval *dim, int type TSRMLS_DC) |
|
|
|
{ |
|
|
|
zval **retval; |
|
|
|
zval **retval, dim_copy; |
|
|
|
zstr offset_key; |
|
|
|
int offset_key_length; |
|
|
|
zend_uchar ztype = Z_TYPE_P(dim); |
|
|
|
@ -931,6 +931,7 @@ static inline zval **zend_fetch_dimension_address_inner(HashTable *ht, zval *dim |
|
|
|
offset_key.s = ""; |
|
|
|
offset_key_length = 1; |
|
|
|
goto fetch_string_dim; |
|
|
|
|
|
|
|
case IS_STRING: |
|
|
|
case IS_UNICODE: |
|
|
|
|
|
|
|
@ -1272,7 +1273,7 @@ static void zend_fetch_property_address(temp_variable *result, zval **container_ |
|
|
|
zval *ptr; |
|
|
|
|
|
|
|
if (Z_OBJ_HT_P(container)->read_property && |
|
|
|
(ptr = Z_OBJ_HT_P(container)->read_property(container, prop_ptr, BP_VAR_W TSRMLS_CC)) != NULL) { |
|
|
|
(ptr = Z_OBJ_HT_P(container)->read_property(container, prop_ptr, type TSRMLS_CC)) != NULL) { |
|
|
|
if (result) { |
|
|
|
result->var.ptr = ptr; |
|
|
|
result->var.ptr_ptr = &result->var.ptr; |
|
|
|
@ -1285,7 +1286,7 @@ static void zend_fetch_property_address(temp_variable *result, zval **container_ |
|
|
|
} |
|
|
|
} else if (Z_OBJ_HT_P(container)->read_property) { |
|
|
|
if (result) { |
|
|
|
result->var.ptr = Z_OBJ_HT_P(container)->read_property(container, prop_ptr, BP_VAR_W TSRMLS_CC); |
|
|
|
result->var.ptr = Z_OBJ_HT_P(container)->read_property(container, prop_ptr, type TSRMLS_CC); |
|
|
|
result->var.ptr_ptr = &result->var.ptr; |
|
|
|
} |
|
|
|
} else { |
|
|
|
|