RE: [PHP-DEV] Proposal: Array syntax

From: Date: Wed, 05 Nov 2003 17:09:33 +0000
Subject: RE: [PHP-DEV] Proposal: Array syntax
Groups: php.internals 
Request: Send a blank email to internals+get-5238@lists.php.net to get a copy of this message
On 05 November 2003 17:06, Marco Tabini contributed these pearls of wisdom: > Christian Schneider wrote: >> Marco Tabini wrote: >> >>> $a = [[1,2,3],[1=>[1,3,2,2], "a"=>[[1,2,3,4],4,[1,2]]]; >> >> >> $a = array(array(1,2,3),array(1=>array(1,3,2,2), >> "a"=>array(array(1,2,3,4),4,array(1,2))); >> > > Besides my previous points, something even more abominable: > > $a = [1,2,$b[11]]; > > Is that confusing enough for you? ;-) What's confusing about it? Cheers! Mike -- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@leedsmet.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.internals (#5238) next »