note 24105 deleted from language.types.array by maxim

From: Date: Tue, 06 Aug 2002 22:34:10 +0000
Subject: note 24105 deleted from language.types.array by maxim
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-34430@lists.php.net to get a copy of this message
Whew. Using $GLOBALS causes arrays to not be registered as arrays (apparently). function getSomeDBStuff() { $GLOBALS["arrName[0]"]=mysql_function_here(); } It looks like this refers to a variable named "arrName[0]" rather than "element zero of array arrName." Or maybe this is a lesson in variable declaration.

« previous php.notes (#34430) next »