From: Zeev Suraski Date: Sat, 18 Mar 2000 14:28:03 +0000 (+0000) Subject: false wouldn't automaticaly switch to an array type, which resulted in an X-Git-Tag: PHP-4.0-RC1~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b8ea2883207d3a8359ef135879ebe81b1374afb;p=php false wouldn't automaticaly switch to an array type, which resulted in an incompatibility with PHP 3. Fixed. --- diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 44dab2b10c..3b1c05c2b5 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -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: