Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48588 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30840 invoked from network); 31 May 2010 21:45:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 May 2010 21:45:24 -0000 Authentication-Results: pb1.pair.com header.from=felipensp@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=felipensp@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: felipensp@gmail.com X-Host-Fingerprint: 209.85.161.42 mail-fx0-f42.google.com Received: from [209.85.161.42] ([209.85.161.42:63438] helo=mail-fx0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 82/02-16697-1FD240C4 for ; Mon, 31 May 2010 17:45:22 -0400 Received: by fxm2 with SMTP id 2so3356933fxm.29 for ; Mon, 31 May 2010 14:45:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=8ikGs0U/g4w2ChOaT7vtaw8MkSewsiSNYbiVPBnXGnE=; b=rgXdiGOeqU9+LtGGKEW/U6J493ryD2mI+WWcIxkiREUG1FM5OX0bapwFSl2Dci1MIQ /5ZLhdE131R1abtpEp+3DcVtLceLTXUBiT3sR9SYtX5IHEstyhMCnqlBC8iHKWx1jfO7 6P7rV6EH7EePHDrsSoD9+lp3Ix3fHPAVUY89c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hIZQuQxfimmARm6VKROGxZW18shnTUQSNNzyu+zbvZHvEXBwo7nOscHaSEPp6JCt7J IRVVGW4en82C2+7xQqj3/Xp1CoPn3beJ9ok2b36Odr5N5bFDqyMzRj70aDHomOaURfMA 5VX2qRctcSgzUO4MfObjxZcCse/WgY/DFhtO8= MIME-Version: 1.0 Received: by 10.103.127.25 with SMTP id e25mr2281712mun.77.1275342318036; Mon, 31 May 2010 14:45:18 -0700 (PDT) Received: by 10.103.160.17 with HTTP; Mon, 31 May 2010 14:45:17 -0700 (PDT) In-Reply-To: <1275326628.24497.1.camel@guybrush> References: <4BD87B5C.4020902@no-surprises.co.uk> <1275326628.24497.1.camel@guybrush> Date: Mon, 31 May 2010 18:45:17 -0300 Message-ID: To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= Cc: Michael Maclean , PHP internals Content-Type: multipart/alternative; boundary=0016e6546f1ed567ef0487eac5be Subject: Re: [PHP-DEV] ereg deprecation? From: felipensp@gmail.com (Felipe Pena) --0016e6546f1ed567ef0487eac5be Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2010/5/31 Johannes Schl=C3=BCter > 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 :-) > > I also won't recommend using ereg, I just thought the unique reason to deprecate it was the unicode stuff, hence wouldn't make sense to keep it deprecated... But as there are others motivations, I prefer leave as is too= . --=20 Regards, Felipe Pena --0016e6546f1ed567ef0487eac5be--