Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45759 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35423 invoked from network); 12 Oct 2009 17:12:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Oct 2009 17:12:53 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.155 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 72.14.220.155 fg-out-1718.google.com Received: from [72.14.220.155] ([72.14.220.155:29439] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/E0-54920-39363DA4 for ; Mon, 12 Oct 2009 13:12:53 -0400 Received: by fg-out-1718.google.com with SMTP id d23so677725fga.11 for ; Mon, 12 Oct 2009 10:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+tyCbmN59UuA1bqWtwD2bLWNaC3u2Eexy5d6wqCVYUY=; b=umumfDsjkHdYfCrPnllQC5pqSEeyL2FUeiDkmyaYKAB2XbJ8odpahe2Rl+SiSosxxO 5lR3eAOphWau1N2fMfhXa7CWQjvDuIXIVFSQWxHNj1yaipKfEikh6Vz+qAxxO9IBJPSp c763OMNTm/zJKEzneseqrD+3BM5M4FUyOJzyo= 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:content-transfer-encoding; b=k22wGl9QxHW9fDl6awhhTEk72j07ra1wMuFuir2VfJ9OuFxPGRRzTVCF2OijISjcPz yrGbFgjewlS5J4dpWSCbN3mk/tsTUInyoxBuFytyU+/HOsKF6+cVfosdFuJoCViaX0/j vZ70wwuoVFJc/B8V2qbdJyLrcLMHi2JFUs8hk= MIME-Version: 1.0 Received: by 10.86.173.4 with SMTP id v4mr5453065fge.78.1255367568027; Mon, 12 Oct 2009 10:12:48 -0700 (PDT) In-Reply-To: <20091012165734.GN5179@arvo.suso.org> References: <20091012154610.GJ5179@arvo.suso.org> <20091012160854.GK5179@arvo.suso.org> <4AD356D5.2020605@lerdorf.com> <20091012162227.GL5179@arvo.suso.org> <20091012165734.GN5179@arvo.suso.org> Date: Mon, 12 Oct 2009 19:12:47 +0200 Message-ID: To: Mark Krenz Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Why is ereg being deprecated? From: pierre.php@gmail.com (Pierre Joye) On Mon, Oct 12, 2009 at 6:57 PM, Mark Krenz wrote: > On Mon, Oct 12, 2009 at 04:27:02PM GMT, Pierre Joye [pierre.php@gmail.com= ] said the following: >> >> The ereg functions cannot work with Unicode and can't be fixed without >> rewriting them. Nobody likes to do it as pcre works just fine and has >> many active maintainers (inside and outside php). >> > > =A0But I'm willing to bet that the majority of people are using ereg, not > PCRE. =A0I've known about PCRE in PHP for a while now, but I continue to > use ereg because I thought it had better support in PHP and that it was > the more "official" function. Guess I was wrong. =A0I'm sure I'm not the > only one who thought this. Let me use another example to make you understand the situation. I bought a car, which is great, I can repair it myself, can drive anywhere I want, etc. 50 years later, the gaz reserve are out (bio gaz etc. as well). I can "STRONGLY stress" anyone in the world to make my car works with the new combustible, that won't help, my car simply does not work with the new combustible. I have now two choices: 1. adapt myself and walk more (or buy a new car) 2. patch my car to work with the new combustible and provide it to the cars developers so everyone else can enjoy the old cars for the next decade. Please note that I knew for years that I won't find gaz anymore at some poi= nt. Shorter version: Topics have been discussed to death, move on, nothing to s= ee. Cheers, --=20 Pierre http://blog.thepimp.net | http://www.libgd.org