Re: async/await - is future reserved words in PHP 7.x?
| From: | Sara Golemon | Date: | Tue, 29 Sep 2015 22:16:58 +0000 |
| Subject: | Re: async/await - is future reserved words in PHP 7.x? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88571@lists.php.net to get a copy of this message | ||
On Tue, Sep 29, 2015 at 3:00 PM, Dmitry Stogov <dmitry@zend.com> 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