On Nov 5, 2003, at 12:54 PM, Jani Taskinen wrote:
On Wed, 5 Nov 2003, Andi Gutmans wrote:
At 11:58 AM 11/5/2003 -0500, George Schlossnagle wrote:
is that any less clear than
$a = array(array(1,2,3), array(1 => array(1,3,2,2), array("a" => array(array(1,2,3,4), 4, array(1,2)));
Both examples can be made crystal clear with appropriate whitespace.
I agree with that.
So it's gonna be the pythonized version? ie. if there is no appropriate whitespace -> parse error? :)
The point was that the example was unreadable even if translated directly into syntactical PHP. To make it 'readable', you need to add whitespace, which would in fact make either syntax quite readable. Anything can look like crap if you want it to.
George
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php