note 112189 deleted from migration53.incompatible by aharvey
| From: | aharvey@php.net | Date: | Fri, 24 May 2013 18:03:35 +0000 |
| Subject: | note 112189 deleted from migration53.incompatible by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-194923@lists.php.net to get a copy of this message | ||
Note Submitter: Olivier
----
In PHP 5.2 this gives a syntax error but works in PHP 5.3:
<?php
array_values(array(1, 2, 3))[0];
?>
I'm not finding this information in the release notes. There doesn't seem to be a chapter
on syntax.