Why does it make more sense?  Is there any advantage in using this over 
using foo[]?  By changing this behavior, we're actually losing 
functionality, not adding any.

Zeev

At 18:53 10/5/2001, Adam Wright wrote:
>Just from my point of view, I've got a lot of legacy code that relies on the
>fact that multiple inputs/query variables with the same name override one
>another. Changing this behaviour would break a lot of code methinks, but
>would probably make more sense in the longterm.
>
>adamw
>
>----- Original Message -----
>From: "Andrei Zmievski" <[EMAIL PROTECTED]>
>To: "Max Vysotskiy" <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Thursday, May 10, 2001 4:39 PM
>Subject: Re: [PHP-DEV] multiselects and arrays
>
>
> > On Thu, 10 May 2001, Max Vysotskiy wrote:
> > > Thanx
> > > But why not just to convert plain field names without [] to arrays??
> > > Is there any reasons to not doing this?
> >
> > That's been a pet peeve of mine as well. I think that if PHP sees
> > multiple variables with the same name in POST data, it should make an
> > array out of them..
> >
> > -Andrei
> > * All of the above is my opinion, unless specified otherwise. *
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to