Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57326 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15967 invoked from network); 10 Jan 2012 17:28:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2012 17:28:51 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:35268] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9E/47-05779-F457C0F4 for ; Tue, 10 Jan 2012 12:28:47 -0500 Received: by yhnn56 with SMTP id n56so747415yhn.29 for ; Tue, 10 Jan 2012 09:28:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=7MLWeVy92PeueAFJvGkLrdbhyLs2hm0Y89xvlqtR+lI=; b=Eatqp+7P7hDuxzvAMSjoVyfS3NeZuZ6oQjy/3H9fTnRZWBOhiYcI1JSgNDybDV7Lvf AR43NR0XKjHljH3+qa1dcWn3H+Om3vdG+2vbAh6bsC5um8K/6Fv3vMVnknRKTwJ7yEez tjMYa1MG9qHqjSFf8lsrfrtecCj1Nxl1poiQ0= MIME-Version: 1.0 Received: by 10.236.128.232 with SMTP id f68mr6866373yhi.17.1326216521939; Tue, 10 Jan 2012 09:28:41 -0800 (PST) Received: by 10.146.238.8 with HTTP; Tue, 10 Jan 2012 09:28:41 -0800 (PST) In-Reply-To: <776626C5-4546-4297-9328-6FEA6385B1B0@roshambo.org> References: <776626C5-4546-4297-9328-6FEA6385B1B0@roshambo.org> Date: Tue, 10 Jan 2012 18:28:41 +0100 Message-ID: To: Philip Olson Cc: internals@lists.php.net Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] disabling ereg From: pierre.php@gmail.com (Pierre Joye) what I mean is that, as far as I remember, the deprecation is only an information via the documentation. We did not want to break BC and all that as it is now emulated through pcre. On Tue, Jan 10, 2012 at 4:46 PM, Philip Olson wrote: > Hello Pierre, > > I mean that the ereg extension is deprecated, yet we cannot disable > it while compiling PHP. In other words, ereg() and friends always > exist in PHP, and emit E_DEPRECATED errors upon use. We should have > the option of creating fatal undefined function errors=85 basically. > > Currently this exists for ereg: > > =A0--with-regex[=3DTYPE] > > So I guess we want: > > =A0--without-regex > > Even though --disable-ereg would feel more natural. > > Regards, > Philip > > On Jan 10, 2012, at 12:27 AM, Pierre Joye wrote: > >> is it not emulated using pcre now? as in, the ereg library is not used a= nymore >> >> On Tue, Jan 10, 2012 at 8:49 AM, Philip Olson wrot= e: >>> Hi geeks! >>> >>> We're unable to disable the ereg extension today, yet it's been depreca= ted since PHP 5.3.0. Is this by design? >>> >>> Regards, >>> Philip >>> >>> >>> -- >>> PHP Internals - PHP Runtime Development Mailing List >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >> >> >> >> -- >> Pierre >> >> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org