Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88571 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64256 invoked from network); 29 Sep 2015 22:17:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Sep 2015 22:17:03 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.215.44 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.215.44 mail-la0-f44.google.com Received: from [209.85.215.44] ([209.85.215.44:34275] helo=mail-la0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/92-46083-EDD0B065 for ; Tue, 29 Sep 2015 18:17:03 -0400 Received: by labzv5 with SMTP id zv5so25533007lab.1 for ; Tue, 29 Sep 2015 15:16:58 -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:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=k6vVfBkb2YUfhe97Wy5Qz/glyvwc/X8YRSB1f4VOILQ=; b=NpPoyRxwhTR0TZYQc/KGPZvcu7kVvb5JK/pgtSTI5QVNNakwJAb0RATkR1dLiSjm9U D5cC/n3Fnu8C8D99JkPRtZ5hNDQ40DFXY5nUolX3E9oudI8gAxaR4DrHuc+UuhuOUl8Y Rs5G1k7IwaUbf4OkhJTOESBCKc3PPX0Kz2afU6gFwyk2teY7ZbBubWcNFycHiSh/eyNl pPVLl7HOWVKnDkEamdtmPAIxXnq1YzTZ/jbeVZtP4JRscO+y5ZWDh/jOqwTcjbYUuuIY jN98R7jfBaWaB5MAnDblF6cuNomyf+gYTnIRN9bEJlqQ9dTPQ/jtWyaVAoklMa5ZUI7n VCyA== X-Gm-Message-State: ALoCoQmqjgpZbyjnk69HoQD4T2VNqV9rGRVBZZgtEcpOBpF0KuusoDsDntn4q/vdiEFKIrkGplts MIME-Version: 1.0 X-Received: by 10.25.153.147 with SMTP id b141mr66404lfe.59.1443565018723; Tue, 29 Sep 2015 15:16:58 -0700 (PDT) Sender: php@golemon.com Received: by 10.112.40.133 with HTTP; Tue, 29 Sep 2015 15:16:58 -0700 (PDT) X-Originating-IP: [2620:10d:c090:200::e:6893] In-Reply-To: References: <56095A0C.4070306@cubiclesoft.com> Date: Tue, 29 Sep 2015 15:16:58 -0700 X-Google-Sender-Auth: MdCdWylrA-0UIwK_Z8UVKlnGGMk Message-ID: To: Dmitry Stogov Cc: Pierre Joye , Levi Morrison , PHP internals , Thomas Hruska , "S.A.N" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] async/await - is future reserved words in PHP 7.x? From: pollita@php.net (Sara Golemon) On Tue, Sep 29, 2015 at 3:00 PM, Dmitry Stogov wrote: > 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 > I actually do agree, I was just winding up Pierre over his "totally failed" assertion with a counter-example. :) > Is the semantic of async/await in Hack and Dart is the same? > If I knew what Dart's semantics were, I could tell you. :) I do know it's based on C#'s implementation (as are many other async/await implementations from what I'm told). -Sara