Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40502 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55353 invoked from network); 13 Sep 2008 09:31:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Sep 2008 09:31:19 -0000 Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:59364] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 54/04-24472-6688BC84 for ; Sat, 13 Sep 2008 05:31:19 -0400 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id D8148414400B; Sat, 13 Sep 2008 09:33:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2SAxjGvxcQ7V; Sat, 13 Sep 2008 11:33:09 +0200 (CEST) Received: from [172.26.31.232] (tmo-102-1.customers.d1-online.com [80.187.102.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id BADD24144009; Sat, 13 Sep 2008 11:32:58 +0200 (CEST) Cc: "Arnaud Le Blanc" , internals@lists.php.net Message-ID: <44483922-2E93-4EE9-AA5C-5C22634CEACA@pooteeweet.org> To: Pierre Joye In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Sat, 13 Sep 2008 11:30:17 +0200 References: <200809121821.15126.arnaud.lb@gmail.com> X-Mailer: Apple Mail (2.928.1) Subject: Re: [PHP-DEV] Making ereg extension optional ? From: mls@pooteeweet.org (Lukas Kahwe Smith) On 12.09.2008, at 19:16, Pierre Joye wrote: > hi, > > On Fri, Sep 12, 2008 at 6:21 PM, Arnaud Le Blanc > wrote: >> Hi, >> >> PHP now builds and works without ereg, is it planed to make it >> optional ? > > It is planed to drop it so I suppose optional can be a first step. I > remember something about adding a BC layer using pcre, I'm not sure if > it is done yet. However I would not do it in 5.x. I think Andrei was pondering doing such a BC layer for PHP6, but I dont think this has been done yet. I think there were still discussions about if its feasible at all. This also means that there were discussions about if to even drop it, but I think we agreed on dropping it in the end, so I guess using ereg should throw an E_DEPRECATED in 5.3? I am not sure if we should make it optional in 5.3 though. regards, Lukas Kahwe Smith mls@pooteeweet.org