Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69082 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7066 invoked from network); 12 Sep 2013 07:10:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Sep 2013 07:10:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.176 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 209.85.212.176 mail-wi0-f176.google.com Received: from [209.85.212.176] ([209.85.212.176:59323] helo=mail-wi0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5B/E4-12981-9F861325 for ; Thu, 12 Sep 2013 03:10:52 -0400 Received: by mail-wi0-f176.google.com with SMTP id cb5so3114408wib.3 for ; Thu, 12 Sep 2013 00:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=4xMExE6GI+iywPx65il8Kx4zRq/zOgQ0TIHK7cF8vZU=; b=hhaFurOrjKJgkP/IeRDHBD+wyqZnPGBKqGQK/IlbLhz2G4LTXRhylaCBunuxqSwwn5 iyNJDxlVoY9fcYYcewBg0F5Rh2bAFNghypbK9m/ftpO57UhM23c3G82r7Oy2ncROqhXn zn33EvLGsFOZu0fYjkrYjQGGqeK4OCvdwKGY+aazPb6kBLpde1ae8wk8CnRBczrQOnGa kOgsXFfFmkzFpYc4i9tyVI3vid+I4hLYVMijj2GGqt+hqhC3cJ3kMXygBc3OOLF4Om1b JK6Hjfvlt4kP1JiPbK2s/+7WIuZyU097AUh6Hh9OlPJ0zWRAAhsGE+Ia3++pALWMy+DC GSXA== MIME-Version: 1.0 X-Received: by 10.180.73.40 with SMTP id i8mr20548688wiv.37.1378969844135; Thu, 12 Sep 2013 00:10:44 -0700 (PDT) Sender: mike.php.net@gmail.com Received: by 10.194.94.41 with HTTP; Thu, 12 Sep 2013 00:10:44 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Sep 2013 09:10:44 +0200 X-Google-Sender-Auth: yTTNlW2J_v9ocueH9rl6qnrdF4o Message-ID: To: Bob Weinand Cc: Developers List PHP Mailing Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Support for keywords where possible From: mike@php.net (Michael Wallner) On 11 September 2013 23:21, Bob Weinand wrote: > Hi! > > I tried to widen the naming possibilities by allowing to use keywords as identifiers (for function names, class names, label (goto) names, ...) where possible. It doesn't break any BC. > > Furthermore when BC needs to be broken in future for new keywords, it will have a smaller impact as most usages of the new keyword then still work. I like the idea, but it looks like the patch defers many string comparisons from the parser to strcmps. Do you have performance comparisons of running e.g. a framework, which uses those keywords a lot? -- Regards, Mike