[TYPO3-core] FYI: #13448: typo in BE cache init section

Martin Kutschker masi-no at spam-typo3.org
Mon Feb 8 11:21:00 CET 2010


Steffen Kamper schrieb:
> 
> i have to admit that i didn't found the place where $typo3CacheFactory
> gets $GLOBALS['typo3CacheFactory'] - the global is some kind of magic
> where i stumble often.

Quite simple: If you access a variable outside a function (or method) any variable is global. So can
omit the $GLOBALS[].

Masi


More information about the TYPO3-team-core mailing list