[TYPO3-dev] Speed of $TCA array access

Bernhard Kraft kraft at web-consulting.at
Mon Jul 15 13:49:44 CEST 2013


Hello !

I was wondering if someone got suggestion on what is faster.

If I have a method using variables from within
$GLOBALS['TCA'][$table]['ctrl'] about 10 times. Do you think it is 
faster to:

a) define a local variable pointing to $GLOBALS['TCA'][$table]['ctrl'] 
and accessing subproperties of it.

b) access $GLOBALS['TCA'][$table]['ctrl'] subproperties all the time.


Do PHP accelerators make a difference here?


greetings,
Bernhard



More information about the TYPO3-dev mailing list