Bug #48052
closed
Using Namespace in t3lib_TCEforms_Suggest breaks PHP 5.2 support
Added by Martin Borer over 11 years ago.
Updated about 7 years ago.
Description
Using function:
\TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode
in class.t3lib_tceforms_suggest.php
breaks PHP 5.2 Support.
Solution:
use t3lib_div::trimExplode
Confirmed. Thanks! Will be taken care of in 4.5.27. Special thanks for this report before this was released!
- Category set to 1394
- Status changed from New to Accepted
- Target version set to 4.5.26
Grepping for
TYPO3\
in the current sources of version 4.7 revealed a few other usages of namespaces:
- Code
- class Tx_Fluid_Tests_Unit_View_TemplateViewTest
- class Tx_Fluid_Tests_Unit_ViewHelpers_Form_AbstractFormFieldViewHelperTest
- PHPDoc
- class tx_form_System_Postprocessor_Mail
- class t3lib_stdGraphicTest
I expect to find the same (or even more) issues in 4.5 too!
Typo3 4.7 requires PHP 5.3, using Namspaces in this version is ok.
As far as I can see, there are no other places in Typo3 4.5 where Namespaces are used.
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Category changed from 1394 to Backend API
- Status changed from Resolved to Closed
Also available in: Atom
PDF