Date: 05/10/01
- Next message: arnev <email protected>: "[PHP-DEV] Bug #10795: One of the library files needed to run this application cannot be found"
- Previous message: baikov <email protected>: "[PHP-DEV] Bug #10794: Bug in memory_limit"
- In reply to: Adam Wright: "Re: [PHP-DEV] multiselects and arrays"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] multiselects and arrays"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] multiselects and arrays"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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" <andrei <email protected>>
>To: "Max Vysotskiy" <Maxim_Vysotskiy <email protected>>
>Cc: <php-dev <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: php-dev-unsubscribe <email protected>
> > For additional commands, e-mail: php-dev-help <email protected>
> > To contact the list administrators, e-mail: php-list-admin <email protected>
> >
> >
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
-- Zeev Suraski <zeev <email protected>> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: arnev <email protected>: "[PHP-DEV] Bug #10795: One of the library files needed to run this application cannot be found"
- Previous message: baikov <email protected>: "[PHP-DEV] Bug #10794: Bug in memory_limit"
- In reply to: Adam Wright: "Re: [PHP-DEV] multiselects and arrays"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] multiselects and arrays"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] multiselects and arrays"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

