Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57332 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45589 invoked from network); 10 Jan 2012 19:52:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2012 19:52:00 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.163 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.163 smtp163.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.163] ([67.192.241.163:49870] helo=smtp163.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 47/C2-29913-ED69C0F4 for ; Tue, 10 Jan 2012 14:52:00 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp6.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 5EE913B828D; Tue, 10 Jan 2012 14:51:56 -0500 (EST) X-Virus-Scanned: OK Received: by smtp6.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id F270D270BF0; Tue, 10 Jan 2012 14:51:55 -0500 (EST) Message-ID: <4F0C96DB.3080406@sugarcrm.com> Date: Tue, 10 Jan 2012 11:51:55 -0800 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Philip Olson CC: Pierre Joye , Ferenc Kovacs , "internals@lists.php.net" References: <776626C5-4546-4297-9328-6FEA6385B1B0@roshambo.org> <59C30E1D-C101-4696-AB21-EE167AD56277@roshambo.org> In-Reply-To: <59C30E1D-C101-4696-AB21-EE167AD56277@roshambo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] disabling ereg From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > (1) ereg is deprecated, and usage is discouraged > (2) It emits E_DEPRECATED errors as of PHP 5.3 > (3) We cannot disable/remove ereg at compile time (today) > > I'm suggesting we alter (3) so that we, the people who compile > PHP, can optionally remove this extension from our PHP 5.4+. OK, propose a patch :) Note that pgsql seems to be using regex, and may be other modules, so it should be made to use PCRE instead I guess. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227