> -----Original Message-----
> From: Richard Davey [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2002 17:12
> 
> "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I don't understand why you think it is illogical.  How else 
> would you
> > dereference a multi-dimensional array?
> 
> Because in my mind (which I know is totally wrong in this 
> instance, I'm just
> explaining for your benefit) using:
> 
> $GLOBALS['mtxt'][1];
> 
> is like saying "give me element 1 of the globals array" when 
> I was thinking
> "but I want element 1 of the mtxt array"

But $GLOBALS['mtxt'] *is* the mtxt array -- so logically element 1 of it can only be 
$GLOBALS['mtxt'][1].

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: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to