[pmwiki-users] preg_replace() and Flash (swf-sites.php)
pbowers at pobox.com
Wed Jun 3 03:51:22 CDT 2015
On Tue, Jun 2, 2015 at 1:17 PM, David Pilling <pmwiki at pilling.demon.co.uk>
> On 01/06/2015 15:21, Daniel wrote:
>> I have been trying to convert 'swf-sites.php' from
>> "Deprecated: preg_replace(): The /e modifier is deprecated, use
> I've just been through our Pacific Bulb Society wiki and removed all the
> preg /e code.
> I've found some recipes where a modified version is not available.
> I made a couple of tiny mistakes along the way which cost me a few hours
> I sent Daniel my version of the file he is interested in.
> Point - is there a recommended way to share this experience.
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...)
If you learned things along the way that are not adequately documented at
http://www.pmwiki.org/wiki/PmWiki/CustomMarkup#php55 then please add to
that page appropriately.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users