Re: Bug #738: $GLOBALS dislike array element and class field

From: Date: Fri, 11 Sep 1998 21:42:03 +0000
Subject: Re: Bug #738: $GLOBALS dislike array element and class field
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-985@lists.php.net to get a copy of this message
On 11 Sep 98, at 17:35, mquinson@zeppelin-cb.de wrote: > And then, if I try to access to $GLOBALS["myTest->value"], i get an empty string. > and I would like to get $myTest->value... > The same is true with $GLOBALS["foo[0]"]; Try it this way: $GLOBALS['myTest']->value $GLOBALS['foo'][0] Dave ---------------------------------------------------------------------- Dave Walton Webmaster, Postmaster Nordic Entertainment Worldwide walton@nordicdms.com http://www.nordicdms.com ---------------------------------------------------------------------- -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#985) next »