Re: [PHP-DEV] Implicit Arrays and E_STRICT

2004-05-08 Thread Sara Golemon
> I don't think any error message should be thrown during implicit array > creation. Not having to define your variables is one of the main principles > of the PHP language. I definitely don't think this should be changed. I > also don't see how this differs very much from a regular assignment to a

Re: [PHP-DEV] Implicit Arrays and E_STRICT

2004-05-08 Thread Andi Gutmans
Hi Sara, I don't think any error message should be thrown during implicit array creation. Not having to define your variables is one of the main principles of the PHP language. I definitely don't think this should be changed. I also don't see how this differs very much from a regular assignment

Re: [PHP-DEV] Implicit Arrays and E_STRICT

2004-05-07 Thread Sara Golemon
> > > This topic got quietly dropped last week, but I'd like to make one last > > > 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 like to see one

Re: [PHP-DEV] Implicit Arrays and E_STRICT

2004-05-07 Thread Jevon Wright
CTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 08, 2004 12:25 PM Subject: Re: [PHP-DEV] Implicit Arrays and E_STRICT > I would view implicit array creation as a slightly negative thing, similar > to accessing the value of a variable that does not exist. > > We run in E_A

Re: [PHP-DEV] Implicit Arrays and E_STRICT

2004-05-07 Thread Jason Garber
I would view implicit array creation as a slightly negative thing, similar to accessing the value of a variable that does not exist. We run in E_ALL mode and write our code to avoid all E_NOTICEs. For instance, before using an array, I always initialize it using $aItems = array(); I'm in favo

Re: [PHP-DEV] Implicit Arrays and E_STRICT

2004-05-07 Thread Marcus Boerger
Hello Sara, i like to see one of those too and i have no preference for one of them. marcus Friday, May 7, 2004, 11:05:15 PM, you wrote: > This topic got quietly dropped last week, but I'd like to make one last > plea. I'd like to see Zend throw an E_STRICT when arrays are implicitly > created