<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 2, 2015 at 1:17 PM, David Pilling <span dir="ltr"><<a href="mailto:pmwiki@pilling.demon.co.uk" target="_blank">pmwiki@pilling.demon.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 01/06/2015 15:21, Daniel wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
I have been trying to convert 'swf-sites.php' from<br></span><span class="">
"Deprecated: preg_replace(): The /e modifier is deprecated, use<br>
</span></blockquote>
<br>
I've just been through our Pacific Bulb Society wiki and removed all the preg /e code.<br>
<br>
I've found some recipes where a modified version is not available.<br>
<br>
I made a couple of tiny mistakes along the way which cost me a few hours debugging.<br>
<br>
I sent Daniel my version of the file he is interested in.<br>
<br>
Point - is there a recommended way to share this experience.</blockquote></div><br>Any recipes that (still) have not been upgraded to avoid the /e modifier are almost undoubtedly then not under active development. I would strongly suggest that you upload your modified code to the relevant recipe page as a new release, simply documenting that the changes in the release are for PHP 5.5 compliance.  (You will find that different developers document & package their new releases slightly differently, so you may have to upgrade different recipe pages in a different way...)</div><div class="gmail_extra"><br></div><div class="gmail_extra">If you learned things along the way that are not adequately documented at <a href="http://www.pmwiki.org/wiki/PmWiki/CustomMarkup#php55">http://www.pmwiki.org/wiki/PmWiki/CustomMarkup#php55</a> then please add to that page appropriately.</div><div class="gmail_extra"><br></div><div class="gmail_extra">-Peter</div></div>