Object and Array Literals

From: Date: Sun, 05 Jun 2011 01:30:49 +0000
Subject: Object and Array Literals
Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hello.

I've posted a RFC concerning Object and Array Literals on the wiki: https://wiki.php.net/rfc/objectarrayliterals

Please read, and if you have a comment that is not already covered in the RFC, raise it here.
I'm definitely open to discussion, but I would really love to keep this discussion civil.

To get the ball rolling, here are a few points that I think we need to discuss:

	• Strictness of unquoted keys.
	• Support => in addition to : as a key:value separator.
	• possibility of simply not supporting the \u### syntax for Unicode characters in literal strings
(just like the rest of PHP).
	• Should mixed-format (numeric and associative arrays) be allowed? (e.g. [1,'two':2,
3])

I beg you to keep name-calling, conclusion-jumping, and general hostility out of this thread. Thanks
for your attention.

S


Thread (18 messages)

« previous php.internals (#52909) next »