Re: Re: Implicit Arrays and E_STRICT
| From: | John Coggeshall | Date: | Fri, 07 May 2004 23:08:56 +0000 |
| Subject: | Re: Re: Implicit Arrays and E_STRICT | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9718@lists.php.net to get a copy of this message | ||
On Fri, 2004-05-07 at 18:26, Christian Schneider wrote:
> 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.
I was also under the impression that E_STRICT was for depreciated items.
If there is some sort of agreement that automagic array construction is
a bad thing*, then I believe it should be E_NOTICE.
John
* - Personally, I tend to disagree that there is a need for a warning,
it just seems like another difference between PHP 4 and PHP 5 that
really doesn't buy people much.
--
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
John Coggeshall http://www.coggeshall.org/
The PHP Developer's Handbook http://www.php-handbook.com/
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-