<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 06 Jul 2008 22:02:03 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Brian Moon's Blog: Short Array Syntax for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10296</guid>
      <link>http://www.phpdeveloper.org/news/10296</link>
      <description><![CDATA[<p>
There's been some talk floating around about a proposed additional syntax for creating arrays in PHP. <i>Brian Moon</i> <a href="http://brian.moonspot.net/2008/05/28/short-array-syntax-for-php/">sums it up nicely</a> in a new post to his blog.
</p>
<blockquote>
So, I was asked in IRC today about the proposed short array syntax for PHP. For those that don't know, I mean the same syntax that other languages (javascript, perl, python, ruby) all have. [...] It just feels like a good addition to the language. It is common among web languages and therefore users coming into PHP from other languages may find it more comfortable.
</blockquote>
<p>
He <a href="http://brian.moonspot.net/2008/05/28/short-array-syntax-for-php/">compares</a> it with other data type creation in PHP (you don't call int() to make an integer, so why call array() to make an array). However, according to <A href="http://marc.info/?l=php-internals&m=121151618528857&w=2">a post</a> from the internals mailing list, we might not be seeing this any time soon.
</p>]]></description>
      <pubDate>Thu, 29 May 2008 11:13:00 -0500</pubDate>
    </item>
  </channel>
</rss>
