Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48582 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93891 invoked from network); 31 May 2010 17:24:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 May 2010 17:24:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 unknown Solaris 10 (beta) Received: from [217.114.211.66] ([217.114.211.66:47284] helo=schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/50-26688-CA0F30C4 for ; Mon, 31 May 2010 13:23:56 -0400 Received: from localhost (ka.local [127.0.0.1]) by schlueters.de (Postfix) with SMTP id 7DBB32520F for ; Mon, 31 May 2010 19:23:53 +0200 (CEST) Received: from [192.168.1.33] (ppp-93-104-35-20.dynamic.mnet-online.de [93.104.35.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by schlueters.de (Postfix) with ESMTPSA id 255292520D; Mon, 31 May 2010 19:23:53 +0200 (CEST) To: Felipe Pena Cc: Michael Maclean , PHP internals In-Reply-To: References: <4BD87B5C.4020902@no-surprises.co.uk> Content-Type: text/plain; charset="UTF-8" Date: Mon, 31 May 2010 19:23:48 +0200 Message-ID: <1275326628.24497.1.camel@guybrush> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] ereg deprecation? From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Mon, 2010-05-31 at 14:09 -0300, Felipe Pena wrote: > Hi, > > 2010/4/28 Michael Maclean > > > 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? > > > > > I think make no sense to keep it deprecated. > > Here's a patch for undeprecate ext/ereg in 5_3 and trunk: > http://felipe.ath.cx/diff/undeprecate-ereg.diff > > Any objection? If no, I'll commit it in soon. 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 :-) johanns