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

Steffen Kamper info at sk-typo3.de
Fri May 22 00:01:51 CEST 2009


Hi,

this patch doesn't work for some cases. TV shows highlighted xml, which 
is broken now:
Warning: preg_split() [function.preg-split]: Unknown modifier 'l' in 
/var/www/typo3-svn-semantic/t3lib/class.t3lib_parsehtml.php on line 357

Warning: reset() [function.reset]: Passed variable is not an array or 
object in /var/www/typo3-svn-semantic/t3lib/class.t3lib_parsehtml.php on 
line 363

Warning: next() [function.next]: Passed variable is not an array or 
object in /var/www/typo3-svn-semantic/t3lib/class.t3lib_parsehtml.php on 
line 364

Warning: Variable passed to each() is not an array or object in 
/var/www/typo3-svn-semantic/t3lib/class.t3lib_parsehtml.php on line 365

and no output of xml. Maybe the error is located before in 
class.t3lib_syntaxhl.php, i will investigate. But it shows that the 
conversion isn't that trivial and this patch changes too much classes at 
once.

vg Steffen


More information about the TYPO3-team-core mailing list