mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
- Fix problem Thies reported. We by mistake separated variables which were
being fetched for read only.
This commit is contained in:
parent
2df67b7c9e
commit
08304a3c93
@ -688,7 +688,7 @@ static inline void zend_fetch_dimension_address(znode *result, znode *op1, znode
|
||||
convert_to_long(&tmp);
|
||||
offset = &tmp;
|
||||
}
|
||||
if (!container->is_ref) {
|
||||
if (!container->is_ref && type!=BP_VAR_R) {
|
||||
SEPARATE_ZVAL(container_ptr);
|
||||
}
|
||||
container = *container_ptr;
|
||||
|
Loading…
Reference in New Issue
Block a user