Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19047 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78153 invoked by uid 1010); 16 Sep 2005 12:23:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 78137 invoked from network); 16 Sep 2005 12:23:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Sep 2005 12:23:34 -0000 X-Host-Fingerprint: 209.190.22.60 mx.ozziehost.net.au Linux 2.5 (sometimes 2.4) (4) Received: from ([209.190.22.60:2556] helo=mx.ozziehost.net.au) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 28/CB-43379-449BA234 for ; Fri, 16 Sep 2005 08:23:32 -0400 Received: from swamp.oceania.net (245-27-251-64.serverpronto.com [64.251.31.245] (may be forged)) by mx.ozziehost.net.au (8.12.10/8.12.10) with ESMTP id j8GCNQbM030809 for ; Fri, 16 Sep 2005 22:23:28 +1000 Received: from kevin.oceania.net (203-129-159-154.rev.dft.net.au [203.129.159.154] (may be forged)) by swamp.oceania.net (8.13.4/8.13.1) with SMTP id j8GCJI1h019714 for ; Fri, 16 Sep 2005 22:19:21 +1000 Date: Fri, 16 Sep 2005 22:21:19 +1000 To: internals@lists.php.net Message-ID: <20050916222119.222d03ea.kevin@oceania.net> In-Reply-To: <42.2F.43379.98B6A234@pb1.pair.com> References: <42FCE0E4.604@lerdorf.com> <43281520.4000209@metropolis-ag.de> <4E.EA.41173.2CBB9234@pb1.pair.com> <4329DEBE.3080204@php.net> <42.2F.43379.98B6A234@pb1.pair.com> Organization: Oceania X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-vine-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 6.0 Wishlist From: kevin@oceania.net (Kevin Waterson) This one time, at band camp, "Ron Korving" wrote: > The problem with this would be that it can't be decided on a per-case basis, > but only for the whole switch, which would make the execution slower. That's > why I'd prefer a "regcase", but I guess this can be considered ugly becuase > e.g. C(++) doesn't have a "regcase" either and it's quite a diversion from > the known syntax. Isnt all this taken care of with preg_match? Kevin -- "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote."