[TYPO3-core] RFC #9994: Bug: ereg_replace is deprecated in PHP 5.3 alpha3

Oliver Hader oliver at typo3.org
Fri May 22 21:26:58 CEST 2009


Hi Steffen,

Steffen Kamper schrieb:
> here is the same for t3lib_cs.
> 
> To clarify: as the var is concatenatet with a hash the possibility is
> there, that a digit befor/after can happen, which causes error. Using
> the bash-style (${1} instead of \1) ensures that this can't fail.
> Personally i like the bash-style here more as it's better for reading,
> and may be the others should be changed also, but they are not as
> critical as the both follow-ups i attached.

+1 - go ahead! :)

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list