Re: form variable name question

From: Date: Sat, 05 Jun 1999 00:00:02 +0000
Subject: Re: form variable name question
Groups: php.dev 
Request: Send a blank email to php-dev+get-6564@lists.php.net to get a copy of this message
At 9:56 AM 6/3/99, Monte Ohrt wrote: >So the quesion remains: why was the decision made to require "[]" in the >variable name? a convenience? I would imagine it's a performance issue. By using [] there, PHP can simply use the assignment operator as it iterates through the variable/value pairs from a URI string. Thus, INPUTs as arrays are handled in the same way as any INPUTs. Disclaimer: This would be the second of several hundred PHP-DEV messages a day that I have even a chance of actually understanding. :-^ -- "TANSTAAFL" Rich lynch@cognitivearts.com webmaster@ and www. all of: R&B/jazz/blues/rock - jademaze.com music industry org - chatmusic.com acoustic/funk/world-beat - astrakelly.com sculptures - olivierledoux.com my own nascent company - l-i-e.com cool coffeehouse - uncommonground.com

« previous php.dev (#6564) next »