phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Upgrade for PHP 7.x

Goto page Previous  1, 2, 3, 4
 
Search this topic... | Search phpBB2 Discussion... | Search Box
Register or Login to Post    Index » phpBB2 Discussion  Previous TopicPrint TopicNext Topic
Author Message
StarWolf3000
Board Member



Joined: 10 Jun 2010

Posts: 118
Location: Germany


flag
PostPosted: Sun Jul 28, 2019 8:07 am 
Post subject: Re: Upgrade for PHP 7.x

ABDev wrote:
This is a regexp, which allows to use censors.
There is no reason it doesn't work.

Well, in that special case it doesn't work: The e modifier is deprecated since 5.5.0 and removed as of 7.0.0. Because error handling of preg_replace is muted with @ in front, there is no error output.
https://www.php.net/manual/en/reference.pcre.pattern.modifiers.php
Back to top
ABDev
Board Member



Joined: 01 Jun 2009

Posts: 45


flag
PostPosted: Sun Jul 28, 2019 5:00 pm 
Post subject: Re: Upgrade for PHP 7.x

Yes, you are right. I replied too quickly ...
I had forgotten I didn't use anymore this feature in my fork.
Back to top
StarWolf3000
Board Member



Joined: 10 Jun 2010

Posts: 118
Location: Germany


flag
PostPosted: Mon Jul 29, 2019 4:41 am 
Post subject: Re: Upgrade for PHP 7.x

The censor part needs to be rewritten using preg_replace_callback, as its still useful for generating shortlinks.
Back to top
Display posts from previous:   
Register or Login to Post    Index » phpBB2 Discussion  Previous TopicPrint TopicNext Topic
Page 4 of 4 All times are GMT
Goto page Previous  1, 2, 3, 4
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0233 seconds using 15 queries. (SQL 0.0018 Parse 0.0008 Other 0.0208)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo