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

Steffen Kamper info at sk-typo3.de
Fri May 22 21:24:28 CEST 2009


Hi,

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.

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 9994_cs_followup.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090522/ef83e08b/attachment.txt 


More information about the TYPO3-team-core mailing list