note 45349 deleted from language.variables.external by betz
| From: | betz@php.net | Date: | Fri, 03 Sep 2004 06:36:32 +0000 |
| Subject: | note 45349 deleted from language.variables.external by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75973@lists.php.net to get a copy of this message | ||
Note Submitter: php at perihelion dot demon dot co dot uk
----
The [] thing is most definitely a bad hack. PHP should be able to handle any valid form. It's
probably nice to have for tinkering around but it's ultimately wrong. if nothing else, the
programmer may not actually have control of what variable names are used on the form.
I would like to see PHP automatically (perhaps as a configurable option) make arrays out of
duplicated GET and POST vars. isarray() is available after all.