Re: Proposal: Array syntax

From: Date: Thu, 06 Nov 2003 01:50:36 +0000
Subject: Re: Proposal: Array syntax
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-5281@lists.php.net to get a copy of this message
Ard Biesheuvel wrote:
spell out your array definitions. The decision has been made a long time ago to use the array() syntax. Adding alternatives adds nothing but the
I was under the impression that syntax changes are possible. Silly me.
Try/catch however are a fundamental extension to the functionality of
I couldn't disagree more. I don't think the language really needed it but I'm on my own here, I know.
I can't believe you would seriously consider maintaining your own PHP branch, only to be able to use dangling commas and [] array syntax.
Luckily all my patches are in the 2 to 10 lines range so 'maintain' is too big a word for it. It was done once and I can benefit in all my (thousands of lines of) PHP code now. The Apache/PHP build script already has hooks for patches so little effort, big impact. The joy of open source. I was trying to give something back to the community but the community didn't want it. Tough luck. PHP (and me) are going to survive it :-) - Chris

« previous php.internals (#5281) next »