Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88573 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68517 invoked from network); 29 Sep 2015 22:34:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Sep 2015 22:34:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; 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:34030] helo=mail-vk0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 94/83-46083-6F11B065 for ; Tue, 29 Sep 2015 18:34:31 -0400 Received: by vkat63 with SMTP id t63so14411073vka.1 for ; Tue, 29 Sep 2015 15:34:28 -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=GWWXH/0p2VY2gIStpExCRmpL41KZXmT5GFQVgCbEMy0=; b=YW/Vfum7Z3NEXoKq3TXmfunXRk14qlJwprOXk7kSpuTu8msDlR/Px0wk9M8L44Oy1v kW7I3ZOWyIKnKp7a1uUKlGIc8mMYCekxlBeuSCG/7c2MA5e44FbtPEN8kO5BoyV/Ab+Q QZJCzH+LY+vEhNehycePyPlW4R+6G8ICF7lzpaq9APw/7TTZ23MgnGs5S2oFoq52KcPi unruQGcZQO6ROtn+JgY0Ej+tgvzSSs4Bu9qf+h35c+79N26Iurs3q09bdhSquejrl7y2 htnht+H+QMdH2WCXJs46A3LlM+6S427Zl/5ZGbht5KNWyJiiNTZDnQEq8t4xF82s4zAc j9zA== X-Gm-Message-State: ALoCoQmWqh53w2sN7GPE5YxFCr2DGcPwVtotqUg4hGDXe+9YflrdqHHOD7ClHu8DDd5C/NZaWPmlFya798HWSxY1Jz+u515RPKj8MwlK1N/9WdabKAEGVgz0LDzYrmOjwc+PGbPZ2ON57hpBpSC4PpEUNS8BZsVeZSj9NApNsA7pkW18Z5DF8T4= MIME-Version: 1.0 X-Received: by 10.31.158.205 with SMTP id h196mr360941vke.11.1443566066788; Tue, 29 Sep 2015 15:34:26 -0700 (PDT) Received: by 10.103.24.5 with HTTP; Tue, 29 Sep 2015 15:34:26 -0700 (PDT) In-Reply-To: References: <56095A0C.4070306@cubiclesoft.com> Date: Wed, 30 Sep 2015 01:34:26 +0300 Message-ID: To: Sara Golemon Cc: Pierre Joye , Levi Morrison , PHP internals , Thomas Hruska , "S.A.N" Content-Type: multipart/alternative; boundary=001a11415a8e9f035e0520ea6a2e Subject: Re: [PHP-DEV] async/await - is future reserved words in PHP 7.x? From: dmitry@zend.com (Dmitry Stogov) --001a11415a8e9f035e0520ea6a2e Content-Type: text/plain; charset=UTF-8 On Wed, Sep 30, 2015 at 1:16 AM, Sara Golemon wrote: > 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). > Could you please take a quick look, because I afraid, that identical syntax in different languages implements quite different semantic (I would be glad to be wrong). https://www.dartlang.org/articles/event-loop/ https://www.dartlang.org/articles/await-async/ https://www.dartlang.org/articles/beyond-async/ Thanks. Dmitry, > > -Sara > --001a11415a8e9f035e0520ea6a2e--