Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76989 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7789 invoked from network); 31 Aug 2014 14:32:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Aug 2014 14:32:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.51 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.51 mail-qg0-f51.google.com Received: from [209.85.192.51] ([209.85.192.51:64387] helo=mail-qg0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 79/D1-30065-0F133045 for ; Sun, 31 Aug 2014 10:32:16 -0400 Received: by mail-qg0-f51.google.com with SMTP id i50so4146954qgf.24 for ; Sun, 31 Aug 2014 07:32:13 -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=P++wUAQhjcfzYu7dhAmmoDzsNp1lVgKvw3U9v5X3ZsA=; b=jjqudw6m34LrolKBhsDFTw4pIfCYzbz0kynqfPjsLSHDyAIdczOYGTVEMm9L30vllV Muy8piCmzxhNEN3/wjZU4aNhCSJqceZS9v07rVYHkKBEad03tAow6ik5y2JYPH1Qz0SA g4h9ZvFvanfmubX3+BwcWUlCFJ2vfca35SnlACE56p6TgDY291I+U03gCFeEgYCZHvTp 6Vwe7DNHUw+9ejDoKej7yRIvoaG9DyIErAALzGtjp4zKyU6EcSKNYADR2lSdq5whv13u v9hBeWQLQzvEIY0QRi+nqnfPCWZox1IVEmmWllrMTbOrEtJtfickv+xqXRcF4DMAiJx6 KFKg== MIME-Version: 1.0 X-Received: by 10.140.87.5 with SMTP id q5mr34947855qgd.94.1409495533654; Sun, 31 Aug 2014 07:32:13 -0700 (PDT) Received: by 10.140.95.146 with HTTP; Sun, 31 Aug 2014 07:32:13 -0700 (PDT) Received: by 10.140.95.146 with HTTP; Sun, 31 Aug 2014 07:32:13 -0700 (PDT) In-Reply-To: References: <137F7EB5-9A04-4780-A5F7-31089DEC959C@gmail.com> Date: Sun, 31 Aug 2014 16:32:13 +0200 Message-ID: To: Tjerk Meesters Cc: PHP internals , Ferenc Kovacs Content-Type: multipart/alternative; boundary=001a113ab2ec989a490501edc073 Subject: Re: [PHP-DEV] Kill ereg with fire From: pierre.php@gmail.com (Pierre Joye) --001a113ab2ec989a490501edc073 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Heck... No :) Or we mark it as dead right away, single release for the sake of it and let it die. On Aug 31, 2014 2:08 PM, "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 > > --001a113ab2ec989a490501edc073--