Re: Illegal use of string offset

From: Date: Tue, 27 Apr 2004 14:58:48 +0000
Subject: Re: Illegal use of string offset
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-9592@lists.php.net to get a copy of this message
At 04:00 PM 4/27/2004 +0200, Marcus Boerger wrote:
Hello Andi, Tuesday, April 27, 2004, 3:15:47 PM, you 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. It is time to forget BC with PHP 3. Nearly noone is using it now.
It's not only BC. An empty variable == NULL and there are some other good situations (which I can't remember on the top of my head) where this needs to stay the way it is. It really doesn't matter and I suggest not to break such stuff because it could break millions of scripts. Andi

« previous php.internals (#9592) next »