Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48585 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97428 invoked from network); 31 May 2010 17:27:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 May 2010 17:27:28 -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 188.40.37.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 188.40.37.16 hq1.backendmedia.com Linux 2.6 Received: from [188.40.37.16] ([188.40.37.16:47190] helo=hq1.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2A/21-26688-F71F30C4 for ; Mon, 31 May 2010 13:27:27 -0400 Received: from localhost (unknown [127.0.0.1]) by hq1.backendmedia.com (Postfix) with ESMTP id 99E41200C18E; Mon, 31 May 2010 17:27:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from hq1.backendmedia.com ([127.0.0.1]) by localhost (hq1.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9nYV8YFv+ahD; Mon, 31 May 2010 19:27:30 +0200 (CEST) Received: from [192.168.0.151] (217-162-131-234.dclient.hispeed.ch [217.162.131.234]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by hq1.backendmedia.com (Postfix) with ESMTPSA id DF491200C18D; Mon, 31 May 2010 19:27:29 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: <1275326628.24497.1.camel@guybrush> Date: Mon, 31 May 2010 19:27:18 +0200 Cc: Felipe Pena , Michael Maclean , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <5A31E569-42C9-416F-8B05-B932CB1B9D2C@pooteeweet.org> References: <4BD87B5C.4020902@no-surprises.co.uk> <1275326628.24497.1.camel@guybrush> To: =?iso-8859-1?Q?Johannes_Schl=FCter?= X-Mailer: Apple Mail (2.1078) Subject: Re: [PHP-DEV] ereg deprecation? From: mls@pooteeweet.org (Lukas Kahwe Smith) On 31.05.2010, at 19:23, Johannes Schl=FCter wrote: > On Mon, 2010-05-31 at 14:09 -0300, Felipe Pena wrote: >> Hi, >>=20 >> 2010/4/28 Michael Maclean >>=20 >>> Hi, >>> I think I asked this before on IRC, but I've forgotten the answer. I = was >>> just remembering that the ereg extension was due to be deprecated in = PHP6 - >>> does this still apply to trunk? >>>=20 >>>=20 >> I think make no sense to keep it deprecated. >>=20 >> Here's a patch for undeprecate ext/ereg in 5_3 and trunk: >> http://felipe.ath.cx/diff/undeprecate-ereg.diff >>=20 >> Any objection? If no, I'll commit it in soon. >=20 > I still won't recommend using ereg - the missing binary-safety causes > quite some broken checks ... is there anything that can be done which > can't be done using pcre? If not: Less code to maintain -> less > trouble :-) i would still keep it deprecated simply because people should not write = new code with ereg, even if we do not have to remove it because of lack = of unicode support. regards, Lukas Kahwe Smith mls@pooteeweet.org