Date: 09/26/98
- Next message: musone: "[PHP-DEV] CVS update: php3/functions"
- Previous message: Bug Database: "[PHP-DEV] Bug #738 Updated: $GLOBALS dislike array element and class field"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> ID: 738
> Updated by: zeev
> Reported By: mquinson <email protected>
> Status: Closed
> Bug Type: Feature/Change Request
> Assigned To:
> Comments:
>
> You only have the syntax wrong.
> To access $foo[0] in the global scope, you need to access
> $GLOBALS["foo"][0].
> To access $foo->bar in the global scope, you need to access
> $GLOBALS["foo"]->bar.
>
> Zeev
I know it, but I wanted to make a general function...
It's ok, I'll ereg the paramter of that function to get it work.
Thanks for your time, Mt.
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: musone: "[PHP-DEV] CVS update: php3/functions"
- Previous message: Bug Database: "[PHP-DEV] Bug #738 Updated: $GLOBALS dislike array element and class field"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

