Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76986 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98129 invoked from network); 31 Aug 2014 12:08:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Aug 2014 12:08:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=tjerk.meesters@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tjerk.meesters@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.174 as permitted sender) X-PHP-List-Original-Sender: tjerk.meesters@gmail.com X-Host-Fingerprint: 209.85.192.174 mail-pd0-f174.google.com Received: from [209.85.192.174] ([209.85.192.174:41618] helo=mail-pd0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 78/60-30065-83013045 for ; Sun, 31 Aug 2014 08:08:25 -0400 Received: by mail-pd0-f174.google.com with SMTP id ft15so3907776pdb.33 for ; Sun, 31 Aug 2014 05:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=rsep4y0bXtMEAYf+66GcGztpjWw7lF5XL4sbAEizzfg=; b=MORapbD4dkbqy2qL9nLlcPNQnvD32RtTLsLR6e2JZtjvAfYqG7K1xjqJe7tEHNsQFy 83IRb445RwJKig7zqEDvtBIHyPVLA7xN5Gk7tvyy2FQsng4T4YJwMYYYXSzX74ABLBMV 4ciEMS7dTedYaAGf0tgxIgsU1c5oDh8/rZbHuDGb5xS37lWIFey8oscbUgMpcGJOFktB 1pAB7Opn0BRTeO6YRzffPbg4mTxbM09PS0QqHe58qrMu0zUNDZTJ82cmgv8/LhLyQA04 jhE+3XmxcCS2AVGl/YY4qhngYL/fRbwj4rke9Z+zRzN0Z7oGCj1p9eBiDDsTxcD8V68x Z3kA== X-Received: by 10.70.41.11 with SMTP id b11mr31014873pdl.11.1409486901560; Sun, 31 Aug 2014 05:08:21 -0700 (PDT) Received: from [192.168.1.102] (bb121-7-198-24.singnet.com.sg. [121.7.198.24]) by mx.google.com with ESMTPSA id rf1sm7771746pdb.16.2014.08.31.05.08.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 31 Aug 2014 05:08:20 -0700 (PDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_1EC08CE5-7423-41C2-B6B2-3602EA1F6BD1" Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: Date: Sun, 31 Aug 2014 20:08:16 +0800 Cc: PHP Internals Message-ID: References: <137F7EB5-9A04-4780-A5F7-31089DEC959C@gmail.com> To: Ferenc Kovacs X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] Kill ereg with fire From: tjerk.meesters@gmail.com (Tjerk Meesters) --Apple-Mail=_1EC08CE5-7423-41C2-B6B2-3602EA1F6BD1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi Ferenc, On 31 Aug, 2014, at 7:00 pm, Ferenc Kovacs wrote: >=20 >=20 >=20 > On Sun, Aug 31, 2014 at 7:08 AM, Tjerk Meesters = wrote: > Hi internals (again), >=20 > Recently I=92ve done a small assessment on how feasible it is to = remove ext/ereg from the project for the next major version. This is the = result (so far): >=20 > https://github.com/datibbaw/php-src/compare/kill-ereg >=20 > I=92ve replaced two instances of ereg with their pcre equivalents, = OPcache and PGSQL. >=20 > Btw, simply using =91pcreposix.h=92 didn=92t work out for OPcache, I = would get this error: >=20 > Error Blacklist compilation: invalid argument to regex routine >=20 > Perhaps I=92ve missed something obvious, but porting it wasn=92t hard = either. >=20 > Thoughts? >=20 > Afair we have a patch floating around, but never made it into the = repo, but everybody seemed to agree to remove the core dependency of = ereg and make it optional to enable. You mean make it optional to install via PECL, right? I agree ;-) Package maintainers can always choose to ship their php packages with = ereg as a means to keep supporting it, regardless of how it=92s provided = (bundled or PECL). >=20 >=20 > --=20 > Ferenc Kov=E1cs > @Tyr43l - http://tyrael.hu --Apple-Mail=_1EC08CE5-7423-41C2-B6B2-3602EA1F6BD1--