Re: suppressing php warnings?

Marc-Etienne Vargenau <[email protected]> Mon, 26 May 2014 16:38:11 +0200
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
Le 22/05/2014 14:35, Harold Hallikainen a =E9crit :
>
> I'm migrating to a new server and am installing phpwiki-code-8855-trunk.
> I'm getting a lot of warnings about preg_replace.
>
> Warning: "preg_replace(): The /e modifier is deprecated, use
> preg_replace_callback instead"
>
> In /etc/php.ini, I have this line:
> error_reporting =3D E_ALL & ~E_DEPRECATED & ~E_STRICT
>
> which seems it should suppress warnings about deprecated features. But,
> the warnings keep showing up.

Hello Harold,

I just created a patch to replace preg_replace with
preg_replace_callback.

It is in Subversion revision 8856.

Can you please see if it solves your problem?

Best regards,

Marc-Etienne Vargenau

-- =

Marc-Etienne Vargenau [email protected]
Alcatel-Lucent France, Route de Villejust, 91620 NOZAY, FRANCE
+33 1 60 40 28 33 OnNet 2103 2833

---------------------------------------------------------------------------=
---
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=3D145328191&iu=3D/4140/ostg.c=
lktrk