RFC: Short syntax for Arrays (redux)

From: Date: Thu, 02 Jun 2011 14:11:17 +0000
Subject: RFC: Short syntax for Arrays (redux)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-52774@lists.php.net to get a copy of this message
Even though I have quite mixed feelings about this, I think I am finally ready to cast my +1. Over the past few days I've discussed with a few people and noticed the need, or rather a strong desire to have this feature in PHP and most people seemed to care only little about how it was done as long as it was done. For the record, my initial objection with the array literals was never the array literals themselves but the lack of object literals to accompany the patch. I still strongly believe that we need both arrays [] and objects {} for a complete consistent implementation, however I'm willing to make a compromise and move forward rather than stalling. Consider this my official +1 for [key => value] -- David Coallier -- David Coallier

« previous php.internals (#52774) next »