mirror of
https://github.com/php/php-src.git
synced 2026-04-19 05:51:02 +02:00
false wouldn't automaticaly switch to an array type, which resulted in an
incompatibility with PHP 3. Fixed.
This commit is contained in:
@@ -672,6 +672,7 @@ static void zend_fetch_dimension_address(znode *result, znode *op1, znode *op2,
|
||||
}
|
||||
|
||||
if (container->type==IS_NULL
|
||||
|| (container->type==IS_BOOL && container->value.lval==0)
|
||||
|| (container->type==IS_STRING && container->value.str.len==0)) {
|
||||
switch (type) {
|
||||
case BP_VAR_RW:
|
||||
|
||||
Reference in New Issue
Block a user