Deprecation: #88567 - $GLOBALS[‘LOCAL_LANG’] ¶
See Issue #88567
The global array
contains all labels from language
files that were loaded “globally”. However, instead of having this in global
scope, it is more feasible to have it scoped to the actual
that loaded this data, in order to allow various language functionality in the
same PHP process without having to deal with global variables.
For this reason, it is discouraged to use the
but instead rely on
the actual values as well, but only the ones loaded from this instance.
Since LanguageService is usually available via
labels are accessible within PHP anyways.
Due to this change, the second and third arguments of
have been deprecated.
Calling the method above with an explicit second and/or third argument will trigger a PHP deprecation warning.
Affected Installations ¶
Any TYPO3 installation with third-party extensions using
or the mentioned method with more than one argument,
which is very unlikely.
Use the return value of
the second and third arguments to work with label files.