note 112189 added to migration53.incompatible

From: Date: Wed, 15 May 2013 11:25:00 +0000
Subject: note 112189 added to migration53.incompatible
Groups: php.notes 
Request: Send a blank email to php-notes+get-194812@lists.php.net to get a copy of this message
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. ---- Server IP: 69.147.83.199 Probable Submitter: 81.82.197.160 ---- Manual Page -- http://php.net/manual/en/migration53.incompatible.php Edit -- https://master.php.net/note/edit/112189 Del: integrated -- https://master.php.net/note/delete/112189/integrated Del: useless -- https://master.php.net/note/delete/112189/useless Del: bad code -- https://master.php.net/note/delete/112189/bad+code Del: spam -- https://master.php.net/note/delete/112189/spam Del: non-english -- https://master.php.net/note/delete/112189/non-english Del: in docs -- https://master.php.net/note/delete/112189/in+docs Del: other reasons-- https://master.php.net/note/delete/112189 Reject -- https://master.php.net/note/reject/112189 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#194812) next »