1
0
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:
Zeev Suraski
2000-03-18 14:28:03 +00:00
parent cf6a2b1621
commit 0b8ea28832

View File

@@ -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: