RE: [PHP] Scope issue

From: Date: Sat, 18 Dec 2004 02:29:33 +0000
Subject: RE: [PHP] Scope issue
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-204642@lists.php.net to get a copy of this message
> In my main file, I am attempting to from with in a function > call $language['project_name'] and i am failing... can you > offer any advice? > Are there any specific reasons that you need to set the variable to global scope? It's typically recommended that unless you need to, to pass the variable into the function and return the modified value if you plan on changing it. -M

« previous php.general (#204642) next »