Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57323 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96908 invoked from network); 10 Jan 2012 15:46:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2012 15:46:47 -0000 Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 209.85.160.170 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:44784] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B2/D3-05779-66D5C0F4 for ; Tue, 10 Jan 2012 10:46:46 -0500 Received: by ghrr1 with SMTP id r1so2279002ghr.29 for ; Tue, 10 Jan 2012 07:46:43 -0800 (PST) Received: by 10.50.214.38 with SMTP id nx6mr2370160igc.19.1326210403537; Tue, 10 Jan 2012 07:46:43 -0800 (PST) Received: from [192.168.2.100] (c-98-246-13-68.hsd1.or.comcast.net. [98.246.13.68]) by mx.google.com with ESMTPS id gh7sm127071117igb.1.2012.01.10.07.46.41 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 10 Jan 2012 07:46:42 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=windows-1252 In-Reply-To: Date: Tue, 10 Jan 2012 07:46:40 -0800 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <776626C5-4546-4297-9328-6FEA6385B1B0@roshambo.org> References: To: Pierre Joye X-Mailer: Apple Mail (2.1251.1) Subject: Re: [PHP-DEV] disabling ereg From: philip@roshambo.org (Philip Olson) Hello Pierre, I mean that the ereg extension is deprecated, yet we cannot disable=20 it while compiling PHP. In other words, ereg() and friends always=20 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: --with-regex[=3DTYPE] So I guess we want: --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 = anymore >=20 > On Tue, Jan 10, 2012 at 8:49 AM, Philip Olson = wrote: >> Hi geeks! >>=20 >> We're unable to disable the ereg extension today, yet it's been = deprecated since PHP 5.3.0. Is this by design? >>=20 >> Regards, >> Philip >>=20 >>=20 >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >>=20 >=20 >=20 >=20 > --=20 > Pierre >=20 > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org