Re: dropping curly braces

From: Date: Fri, 18 Nov 2005 00:27:11 +0000
Subject: Re: dropping curly braces
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-20118@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote:
And you are willing to break just about every application out there for this?
I didn't know how many applications use [] with strings. I only know a lot of applications using {}. The point is not "breaking existing apps", but destroy a sensable convention, which is used a lot, and which is quite useful to increase readability of code as described in my other postings. I have no problem with changing my code if BC breaks, but in this case I'd be sad to loose the useful convention "[] for arrays and {} for strings". best regards Andreas

« previous php.internals (#20118) next »