PHP Classes

Short Array Notation

Recommend this page to a friend!

      PHP Classes blog  >  PHP 5.4 Features: Sha...  >  All threads  >  Short Array Notation  >  (Un) Subscribe thread alerts  
Subject:Short Array Notation
Summary:PHP 5.4 will ship with Short Array Notation
Messages:3
Author:Tyler Sommer
Date:2012-01-30 22:58:02
Update:2012-02-01 08:05:49
 

  1. Short Array Notation   Reply   Report abuse  
Picture of Tyler Sommer Tyler Sommer - 2012-01-30 23:50:15
It appears that the PHP team did actually decide to include the short notation for arrays in PHP 5.4.

See: http://www.php.net/releases/NEWS_5_4_0_beta1.txt
It mentions it in the PHP 5.4.0 ALPHA3 section

  2. Re: Short Array Notation   Reply   Report abuse  
Picture of Packrat Packrat - 2012-01-31 02:32:32 - In reply to message 1 from Tyler Sommer
It exists in the RC6 build as well.

  3. Re: Short Array Notation   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2012-02-01 08:05:49 - In reply to message 1 from Tyler Sommer
Yes, there was misinterpretation of the vote count.

The post was fixed. Thanks for the heads up.