[pmwiki-devel] preg_replace /e depreciated in php 5.5
Petko Yotov
5ko at 5ko.fr
Tue Jul 9 15:44:14 CDT 2013
Paul writes:
> > > On 5 June 2013 05:59, Petko Yotov wrote:
> > > The PmWiki Markup engine relies heavily on the /e modifier. Even if we
> > > manage to fix the core, this will break almost any and all recipes.
...
> In the meantime you can prevent pmwiki from logging the thousands of
> warnings to the error log by changing the first line of code in pmwiki.php
> to:
>
> error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
Yes, we did something like this in version 2.2.52 (slightly different
because E_DEPRECATED doesn't exist before PHP 5.3 and using it would hide
all reports).
Thanks,
Petko
More information about the pmwiki-devel
mailing list