[TYPO3-core] RFC: Bug #7677: Constants are not correctly substituted on some PHP5 distributions
Oliver Hader
oliver at typo3.org
Sat Jan 17 19:39:52 CET 2009
FYI: Committed to SVN
* TYPO3_4-1 (rev. 4742)
* TYPO3_4-2 (rev. 4743)
(not required for Trunk, since it was part of rev. 4636)
olly
Oliver Hader schrieb:
> This is a SVN patch request.
>
> Problem:
> On some PHP5 distributions it happens that constants are not correctly
> substituted in t3lib_tstemplate. The reason is the the array pointer is
> not reset to the beginning after an array was created by using the
> explode() function.
>
> Solution:
> Change the disposal of while(list()=each()) to foreach() instead.
>
> Comments:
> Thanks to Franz Holzinger for pointing out this issue.
> This patch is related to RFC #7523 but shall only be applied to TYPO3
> 4.1.x!
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=7677
>
> Branch: TYPO3_4-1 only
>
>
> olly
--
Oliver Hader
TYPO3 Release Manager 4.3
More information about the TYPO3-team-core
mailing list