RE: [PHP-DEV] Proposal: Array syntax

From: Date: Wed, 05 Nov 2003 17:08:21 +0000
Subject: RE: [PHP-DEV] Proposal: Array syntax
Groups: php.internals 
Request: Send a blank email to internals+get-5239@lists.php.net to get a copy of this message
On 05 November 2003 16:52, Marco Tabini contributed these pearls of wisdom: > > $a = [[1,2,3],[1=>[1,3,2,2], "a"=>[[1,2,3,4],4,[1,2]]]; > > I don't know about you, but I can't even begin to count the > brackets in there... :-) At quick glance says it looks unbalanced. A count shows why: 7 [s and 6 ]s ;) I couldn't begin to suggest whether you left out a ] or have one too many [, or where...!! 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 (#5239) next »