[TYPO3-core] FYI24 #15976: [version] Reference to global array $TCA without fetching from global scope

Oliver Klee typo3-german-02 at oliverklee.de
Wed Oct 13 14:09:17 CEST 2010


Hi,

Am 13.10.2010 14:00, schrieb Oliver Klee:
> IIRC, Xavier's version is the current version, and the exception for
> mass-usage is outdated. However, this is just from memory - I cannot
> find anything about the use of globals in the current CGL.

I've found it:

> Global variables
> Use of global is not recommended. Always use $GLOBALS['variable'].

TYPO3 Coding Guidelines > PHP file formatting > PHP syntax formatting >
Global variables


Oli
-- 
Certified TYPO3 Integrator | TYPO3 Security Team Member


More information about the TYPO3-team-core mailing list