Re: Re: Bug #14063: unset($array[]) causes apache 1.3.20
| From: | Yasuo Ohgaki | Date: | Fri, 16 Nov 2001 13:15:45 +0000 |
| Subject: | Re: Re: Bug #14063: unset($array[]) causes apache 1.3.20 | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70648@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
On Thu, 15 Nov 2001, Yasuo Ohgaki wrote:Nice catch. I didn't think about that. $something != valid var :( -- Yasuo OhgakiHi Derick, May I ask question? I've spent a little more time on this. (When I submit the patch, I spent less than 10 minutes :) When unset($arr[]) is called, get_zval_ptr() returns NULL since znode has IS_UNUSED type.unset is supposed to work on a variabele. $arr[] is not a variable, so the parser should give a parsing error IMO.