# Proposal: Array syntax

- Thread: https://externals.io/message/5239
- Original archive: https://news-web.php.net/php.internals/5239
- Started by Ford on 2003-11-05T17:08:21+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #5239 — Ford — 2003-11-05T17:08:21+00:00

URL: https://externals.io/message/5239#5239

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
