diff options
-rw-r--r-- | Zend/zend_execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 5309c51439..7e75696b93 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -1199,7 +1199,7 @@ static void zend_fetch_dimension_address(temp_variable *result, zval **container ZVAL_LONG(&tmp, lval); dim = &tmp; } else { - if (type != BP_VAR_IS && type != BP_VAR_UNSET) { + if (type != BP_VAR_IS) { zend_error(E_NOTICE, "Trying to get string index from a string"); } if (result) { |