Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88568 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60317 invoked from network); 29 Sep 2015 22:00:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Sep 2015 22:00:36 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.213.49 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.213.49 mail-vk0-f49.google.com Received: from [209.85.213.49] ([209.85.213.49:35174] helo=mail-vk0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9E/B1-46083-10A0B065 for ; Tue, 29 Sep 2015 18:00:35 -0400 Received: by vkao3 with SMTP id o3so13997614vka.2 for ; Tue, 29 Sep 2015 15:00:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ICVIFWwnU2buHWJLAdfXibGQpryHUVOcRjYeZnymE7o=; b=Xww0oHda8x9adGEa1OpF7TktP/suz7KGDNU493ubzSbydPbLTdzDRRAZxWVSgh9FjQ ADV9g+V19OdYAMYqBAZYjFlwaOi+Gf71Ve9fPmQ4rq/qndKYMjjJpXhUPlRalN+MYTQv mRc6qDLISrMTvTIf9bmv6ORMHVCx05h2nvVHLdVmhA/MNLILzaQ4KPimqJSAS08oL7HN 8wFgCfpA1jvD0VYsHVchIlGoRU/KZCoEbdeNfmWfU2TXCcIfWSs3Pd3zfLestf/Ui8w1 AEJmjB7KE6mktc8lJ0kRWMhz/38XQd/9pxdzAju23g8tmy7ShiAtvi9NGpr9VBvxfvS2 GKIQ== X-Gm-Message-State: ALoCoQl7h5PrKOpMYgmn1rkhxn6RfNCRQVFhqv742xqqS79aOIOeR5Xs3xkT8qETdWnEiggJz3MpDi9O89N9bVZCrvaQhIKmsTMPzbpsLrTlyfcFiGCsgJHq31CDnxbE8NycBLREDiVs2XcPQuAE/VBv6sTvoyqFnsRXG9SCumTPp82Wyxq3zXU= MIME-Version: 1.0 X-Received: by 10.31.108.91 with SMTP id h88mr216416vkc.57.1443564031469; Tue, 29 Sep 2015 15:00:31 -0700 (PDT) Received: by 10.103.24.5 with HTTP; Tue, 29 Sep 2015 15:00:31 -0700 (PDT) In-Reply-To: References: <56095A0C.4070306@cubiclesoft.com> Date: Wed, 30 Sep 2015 01:00:31 +0300 Message-ID: To: Sara Golemon Cc: Pierre Joye , Levi Morrison , PHP internals , Thomas Hruska , "S.A.N" Content-Type: multipart/alternative; boundary=001a11478f444e85b80520e9f1dc Subject: Re: [PHP-DEV] async/await - is future reserved words in PHP 7.x? From: dmitry@zend.com (Dmitry Stogov) --001a11478f444e85b80520e9f1dc Content-Type: text/plain; charset=UTF-8 I think, we don't need to reserve words, until we decide to implement this. The context sensitive scanner introduced in 7.0 makes the problem less serious. $ sapi/cli/php -r 'class foo { static function use() {echo "ok\n";}} foo::use();' ok Sara, related question... Is the semantic of async/await in Hack and Dart is the same? Thanks. Dmitry. On Tue, Sep 29, 2015 at 9:29 PM, Sara Golemon wrote: > On Mon, Sep 28, 2015 at 10:30 PM, Pierre Joye > wrote: > > This model totally failed for us in the past. And given that these > keywords > > will be used for anything related to async APIs, let reserve them and put > > our users on the safe side already. > > > Like that time we reserved `use` way before namespaces made it into > the language? > > -Sara > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --001a11478f444e85b80520e9f1dc--