Re: Illegal use of string offset
| From: | Edin Kadribasic | Date: | Tue, 27 Apr 2004 14:21:48 +0000 |
| Subject: | Re: Illegal use of string offset | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9590@lists.php.net to get a copy of this message | ||
On Tuesday 27 April 2004 15:15, Andi Gutmans wrote:
> For BC purposes with PHP 3, NULL/False and unset creation of array does not
> emit a warning. I don't think we should change this.
> I do understand the argument against breaking BC with the $a = 'foo';
> $a['bar']['qux'] = 42; code. I think it's probably best if I revert
> back to
> PHP 4 behavior and emit an E_WARNING.
+1
Edin