IMO it is not weird. Think about $GLOBALS['mtxt'] as a pointer to array(it is not but
this is a good example).
$GLOBALS is a hash list. So it has sub elements - zvals (internal _zend_value ). Every
from these zvals can hold zvals. In C the
syntax is arFooBar, not arFooBar[]
I am not nagging(not sure for the word) at you.
----- Original Message -----
From: "Richard Davey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 6:52 PM
Subject: Re: [PHP] How to access arrays from $GLOBAL?
> "Mike Ford" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > $GLOBALS['mtxt']
> Fantastic :)
> That's totally illogical but it works a treat.
> PHP has some weird syntax rules sometimes!
> Fatal Design
> Atari / DarkBASIC / Coding / Since 1995
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php