[pmwiki-users] Recipes you use/need to be updated for PHP 5.5

John Rankin john.rankin at affinity.co.nz
Sat Jan 4 13:37:49 CST 2014


>
> If you maintain recipes on the cookbook and wish to update your recipe,
> see
>   http://www.pmwiki.org/wiki/PmWiki/CustomMarkup#php55

What does one do with lines like the following?

        $FmtP['/\\$LastModified/e'] = '$GLOBALS[\'CurrentTime\']';

I assume the /e will cause a problem.

I also have a lot of code that needs to be changed to use
preg_replace_callback instead of preg_replace with /e. Sigh.

JR
-- 
John Rankin




More information about the pmwiki-users mailing list