Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76988 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3045 invoked from network); 31 Aug 2014 12:48:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Aug 2014 12:48:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=theanomaly.is@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=theanomaly.is@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.172 as permitted sender) X-PHP-List-Original-Sender: theanomaly.is@gmail.com X-Host-Fingerprint: 74.125.82.172 mail-we0-f172.google.com Received: from [74.125.82.172] ([74.125.82.172:57249] helo=mail-we0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/51-30065-B9913045 for ; Sun, 31 Aug 2014 08:48:27 -0400 Received: by mail-we0-f172.google.com with SMTP id q59so4189587wes.17 for ; Sun, 31 Aug 2014 05:48:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dHlWZEoojH4Y7tv9WeZoRxA/F9W6WH4jBPuoE3aiUFg=; b=Qv0kUns08L3vSAexFsS0klwX/qJfDX1Lk15i1exdUf/V936A4vx3nkoN9ETxA8UBeB 8ETe1jtRpkuYUCbsrjNusDYA/7Ol+P42/70/fwcXiNyy8Vxfi+6njvjNuC3YvBaEUHV/ 6ePI6ZmLf4qrr2BBw1w9OutZFBA0+Efp1oVNgTgnPZQ9wNpHCCd/ok4zl7MFcbOuLXDp RGI+LKrqJOfBC4Etv7MlGrTuYb14Gpdn4GgFLUnfmSc4ViJhY/xM1JO2too+BragjpNw BmXm6/1umNydfpjMLsNliDZnu/qzT6VWWQ/9iabA2gqN+AO4RTslrRv6/pMGLyz7yqOV AWyg== MIME-Version: 1.0 X-Received: by 10.180.35.134 with SMTP id h6mr15725693wij.0.1409489303981; Sun, 31 Aug 2014 05:48:23 -0700 (PDT) Received: by 10.216.35.1 with HTTP; Sun, 31 Aug 2014 05:48:23 -0700 (PDT) In-Reply-To: References: <137F7EB5-9A04-4780-A5F7-31089DEC959C@gmail.com> Date: Sun, 31 Aug 2014 08:48:23 -0400 Message-ID: To: Tjerk Meesters Cc: Ferenc Kovacs , PHP Internals Content-Type: multipart/alternative; boundary=e89a8f83a4434756c50501ec4d38 Subject: Re: [PHP-DEV] Kill ereg with fire From: theanomaly.is@gmail.com (Sherif Ramadan) --e89a8f83a4434756c50501ec4d38 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable +1 Kill it with fire and throw more gasoline ontop of the fire. On Sun, Aug 31, 2014 at 8:08 AM, Tjerk Meesters wrote: > Hi Ferenc, > > On 31 Aug, 2014, at 7:00 pm, Ferenc Kovacs wrote: > > > > > > > > > On Sun, Aug 31, 2014 at 7:08 AM, Tjerk Meesters < > tjerk.meesters@gmail.com> wrote: > > Hi internals (again), > > > > Recently I=E2=80=99ve 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): > > > > https://github.com/datibbaw/php-src/compare/kill-ereg > > > > I=E2=80=99ve replaced two instances of ereg with their pcre equivalents= , OPcache > and PGSQL. > > > > Btw, simply using =E2=80=98pcreposix.h=E2=80=99 didn=E2=80=99t work out= for OPcache, I would get > this error: > > > > Error Blacklist compilation: invalid argument to regex routine > > > > Perhaps I=E2=80=99ve missed something obvious, but porting it wasn=E2= =80=99t hard either. > > > > Thoughts? > > > > 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 ere= g > as a means to keep supporting it, regardless of how it=E2=80=99s provided= (bundled > or PECL). > > > > > > > -- > > Ferenc Kov=C3=A1cs > > @Tyr43l - http://tyrael.hu > > --e89a8f83a4434756c50501ec4d38--