[Typo3-dev] Getting rid of preg_* function
Michael Stucki
michael at typo3.org
Sun Mar 27 17:59:12 CEST 2005
Hi all,
we just solved a problem on typo3-linux for a guy whose TYPO3 installation
crashed. After checking the logs he found out that his installation missed
the PHP function preg_replace.
Obviously he is the first one who has this problem, but the point is that
upstream PHP < 4.2.0 did not have the PCRE functions enabled by default.
I had a look at the source: Currently there are only 30 usages of such
functions, so it would be easy to change this.
My questions:
- Are the PCRE functions faster than the Posix ereg_* functions?
- Should we change it?
- Should we update the coding guidelines and make it a rule to not use them?
Regards, michael
--
Want support? Please read the list rules first: http://typo3.org/1438.0.html
More information about the TYPO3-dev
mailing list