Re: Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only
| From: | Ángel González | Date: | Thu, 09 Dec 2010 22:29:47 +0000 |
| Subject: | Re: Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50982@lists.php.net to get a copy of this message | ||
On Thu, Dec 9, 2010 at 11:42, Michael Shadle wrote:
> Not to mention, I have had issues (and I can't reproduce it properly
> or I would report it) where sometimes i will have a variable in global
> scope in one file, and I have to reference it as $GLOBALS['variable']
> in another include, or I have to global $variable; in the include to
> be able to get to it, and I'm not quite sure why.
Is that second file included inside a function?