Re: How to access arrays from $GLOBAL?

From: Date: Wed, 13 Mar 2002 17:10:24 +0000
Subject: Re: How to access arrays from $GLOBAL?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-88373@lists.php.net to get a copy of this message
Sources. Andrey ----- Original Message ----- From: "Hunter, Ray" <rhunter@enterasys.com> To: "'Rasmus Lerdorf'" <rasmus@lerdorf.ca>; "Richard Davey" <rich@fatal-design.com> Cc: <php-general@lists.php.net> Sent: Wednesday, March 13, 2002 6:59 PM Subject: RE: [PHP] How to access arrays from $GLOBAL? > Where is some good documentation on how $GLOBALS works and what is really > going on in the background? > > > Thank you, > > Ray Hunter > Firmware Engineer > > ENTERASYS NETWORKS > > > -----Original Message----- > From: Rasmus Lerdorf [mailto:rasmus@lerdorf.ca] > Sent: Wednesday, March 13, 2002 9:53 AM > To: Richard Davey > Cc: php-general@lists.php.net > Subject: Re: [PHP] How to access arrays from $GLOBAL? > > > I don't understand why you think it is illogical. How else would you > dereference a multi-dimensional array? > > On Wed, 13 Mar 2002, Richard Davey wrote: > > > "Mike Ford" <M.Ford@lmu.ac.uk> wrote in message > > > > news:7E070107F405BA4790C43526CC4985A10132AA8B@lis-exchange3.lmu.ac.uk. > > .. > > > $GLOBALS['mtxt'][1] > > > > Fantastic :) > > > > That's totally illogical but it works a treat. > > PHP has some weird syntax rules sometimes! > > > > Cheers, > > > > Rich > > -- > > Fatal Design > > http://www.fatal-design.com > > 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 >

« previous php.general (#88373) next »