[TYPO3-core] FYI24 #15976: [version] Reference to global array $TCA without fetching from global scope
Xavier Perseguers
typo3 at perseguers.ch
Wed Oct 13 13:34:58 CEST 2010
Hi Steffen,
> * I post this as FYI24, if you prefer a "global $TCA" instead of
> $GLOBALS['TCA'].
> I prefer the latter one, but first one might be more consistent over the
> class methods.
global $TCA is more consistent but deprecated. Stick to $GLOBALS['TCA']
for "new" code, just as you did.
Cheers
Xavier
More information about the TYPO3-team-core
mailing list