Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45746 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98325 invoked from network); 12 Oct 2009 15:54:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Oct 2009 15:54:06 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.218.206 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.218.206 mail-bw0-f206.google.com Received: from [209.85.218.206] ([209.85.218.206:36527] helo=mail-bw0-f206.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/A8-54920-D1153DA4 for ; Mon, 12 Oct 2009 11:54:06 -0400 Received: by bwz2 with SMTP id 2so7410964bwz.23 for ; Mon, 12 Oct 2009 08:54:02 -0700 (PDT) Received: by 10.103.81.35 with SMTP id i35mr2535751mul.43.1255362842102; Mon, 12 Oct 2009 08:54:02 -0700 (PDT) Received: from ?216.145.54.15? (socks3.corp.yahoo.com [216.145.54.15]) by mx.google.com with ESMTPS id 14sm323701muo.15.2009.10.12.08.53.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 12 Oct 2009 08:54:00 -0700 (PDT) Message-ID: <4AD35114.902@lerdorf.com> Date: Mon, 12 Oct 2009 11:53:56 -0400 User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Guilherme Blanco CC: Mark Krenz , internals@lists.php.net References: <20091012154610.GJ5179@arvo.suso.org> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Why is ereg being deprecated? From: rasmus@lerdorf.com (Rasmus Lerdorf) The real answer is that there is no Unicode support in the ereg functions, and like it or not, the world is going Unicode. -Rasmus Guilherme Blanco wrote: > It was fat, slow and everything that you can do with POSIX regex you > can easily do with PCRE regex, which is faster. > > It is a decision forever. Do not expect it to come on PHP 5.4 (?) or PHP 6. > > Cheers, > > On Mon, Oct 12, 2009 at 12:46 PM, Mark Krenz wrote: >> I just found this out a couple days ago when I checked the ereg manual >> page for something and was shocked. I searched around a bit but >> couldn't find a straight answer on why this function is being removed? >> Did the deprecation notice just get made in 5.3 or has it been there >> longer than that? >> >> Thanks, >> Mark >> >> -- >> Mark S. Krenz >> IT Director >> Suso Technology Services, Inc. >> http://suso.org/ >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > >