Bug #15503
closedwrong ereg expression throws compile error warning
0%
Description
In class.t3lib_tsparser_ext.php on line 1085 and in class.t3lib_tsstyleconfig.php on line 247 the regular expression is malformed.
AFAICS the { had to be masked with \ as it was formerly. To keep this masking present in the real function call to ereg, of course the double quote have to be changed to single quote, since PHP otherwise removes the masking while interpreting.
The warning doesn't appear often, but for novice users they are very irritating, because you never know, what's going wrong.
In tssstyleconfig it seems not to be called any longer (at least what grep tells me), but in tsparser_ext it is.
I read, that all errors, known to be present in 4.0beta2 should be reported, even if they where reported before. This one was reported as 0001390 for 3.8.0.
I didn't get the error with PHP 5 yet, but got it very seldom before, so it doesn't tell anything, I think
(issue imported from #M2383)