[pmwiki-devel] preg_replace /e depreciated in php 5.5
Petko Yotov
5ko at 5ko.fr
Tue Jun 4 12:59:08 CDT 2013
This is bad, bad news.
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.
Unless we find a way to automatically convert the replacement PHP code into
an anonymous function. How much more secure it will be?!?
I'd like to read some ideas and suggestions from the community.
Petko
Kevin Clevenger writes:
> Is there any timeline or ETA for updating PmWiki to accommodate the recent
> depreciation of preg_replace /e in php 5.5?
>
> Seeing a ton of these since upgrading to php 5.5:
> Deprecated: preg_replace(): The /e modifier is deprecated, use
> preg_replace_callback instead in /home/common/Sites/pmwiki/pmwiki.php on
> line ...
> https://wiki.php.net/rfc/remove_preg_replace_eval_modifier
>
More information about the pmwiki-devel
mailing list