Well .. there were discussion about this in the past or at
    leat within some bug reports and it seems its likely to
    getting changed really soon. Although ECMA doesn't allow it
    it works fine aith all current (modern ;) implementations to
    access identfieris with '[' or ']' in the name.

    For more information you may wan't to search the archive at
    http://marc.theaimsgroup.com/ .

    - Markus
On Wed, Nov 28, 2001 at 08:10:21AM -0500, Jesse McCarthy wrote : 
> This is a re-posting.  I sent this a few days ago and got no response, which 
> wasn't exactly what I had in mind.  Following is the original message: 
> 
> I'd like to patch PHP to allow for an XHTML-valid syntax for creating PHP 
> arrays from HTML elements 'input' (groups of type="checkbox") and 'select' 
> (multiple="multiple").  Square brackets are not allowed in XHTML identifiers, 
> so the current syntax name="someName[]" or name="someName[someKey]" is not 
> valid.  Square brackets are also not allowed in ECMAScript identifiers (e.g. 
> variable names) or directly in CSS selectors.  I propose a simple, valid 
> alternative syntax, perhaps something like name="someName__" or 
> name="someName__someKey__".  I'd like to get feedback on the likelihood of 
> that conflicting with any established practices or conventions (I know it 
> would work fine for me), or suggestions of a better syntax. 
> 
> I'd also like to get a little guidance on exactly how to proceed with 
> submitting such a patch.  As far as I can see this would only require 
> modifications to php_variables.c, rfc1867.c, and type.c. 
> 
> When responding to this thread, please CC me because I am not subscribed to 
> the list. 
> 
> Thanks,
> Jesse McCarthy
> 
> 
> -- 
> 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]

-- 
Please always Cc to me when replying to me on the lists.

-- 
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