Re: Implicit Arrays and E_STRICT

From: Date: Fri, 07 May 2004 22:26:06 +0000
Subject: Re: Implicit Arrays and E_STRICT
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-9716@lists.php.net to get a copy of this message
Sara Golemon wrote:
plea. I'd like to see Zend throw an E_STRICT when arrays are implicitly created. I know there were objections to E_NOTICE, but did anyone have violent objections to E_STRICT?
I guess the question is whether we want to deprecate the automatic array creation at some point as E_STRICT is meant for that case. Otherwise we are abusing E_STRICT and might render it unusable to some degree. (From the description in the php.ini file E_NOTICE seems more appropriate as people who auto-init arrays probably also use uninitialized variables and thus don't use E_NOTICE anyway.) My .02, - Chris

« previous php.internals (#9716) next »