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)
Updated by Martin Sch¶nbeck almost 19 years ago
Sorry, it's on line 248 in tssstyleconfig in beta2. I managed to get into beta1, while looking for the line numbers.
Martin
Updated by Karsten Dambekalns almost 19 years ago
I updated #14934 to 4.0beta2 and close this one as duplicate.