The <a href="http://php.net/manual/en/migration55.deprecated.php">standard </a>action seem to be to use <a href="http://php.net/manual/en/function.preg-replace-callback.php">preg_replace_callback </a>instead.<div><br></div>

<div>Simon</div><div><br></div><div><br><div class="gmail_quote">On 5 June 2013 05:59, Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

This is bad, bad news.<br>
<br>
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.<br>
<br>
Unless we find a way to automatically convert the replacement PHP code into an anonymous function. How much more secure it will be?!?<br>
<br>
I'd like to read some ideas and suggestions from the community.<br>
<br>
Petko<div class="im"><br>
<br>
<br>
Kevin Clevenger writes:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there any timeline or ETA for updating PmWiki to accommodate the recent depreciation of preg_replace /e in php 5.5?<br>
<br>
Seeing a ton of these since upgrading to php 5.5:<br>
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/common/Sites/pmwiki/<u></u>pmwiki.php on line ...<br>
<a href="https://wiki.php.net/rfc/remove_preg_replace_eval_modifier" target="_blank">https://wiki.php.net/rfc/<u></u>remove_preg_replace_eval_<u></u>modifier</a><br>
<br>
</blockquote>
<br></div>
______________________________<u></u>_________________<br>
pmwiki-devel mailing list<br>
<a href="mailto:pmwiki-devel@pmichaud.com" target="_blank">pmwiki-devel@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-devel" target="_blank">http://www.pmichaud.com/<u></u>mailman/listinfo/pmwiki-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a>
</div>