Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88531 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83549 invoked from network); 28 Sep 2015 18:52:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Sep 2015 18:52:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=bjorn.x.larsson@telia.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=bjorn.x.larsson@telia.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain telia.com from 81.236.60.155 cause and error) X-PHP-List-Original-Sender: bjorn.x.larsson@telia.com X-Host-Fingerprint: 81.236.60.155 v-smtpout2.han.skanova.net Received: from [81.236.60.155] ([81.236.60.155:38790] helo=v-smtpout2.han.skanova.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2D/00-17200-35C89065 for ; Mon, 28 Sep 2015 14:52:04 -0400 Received: from [192.168.7.4] ([195.198.188.252]) by cmsmtp with SMTP id gdWpZX5b1b8RrgdWqZzr49; Mon, 28 Sep 2015 20:52:00 +0200 To: Levi Morrison References: <56095A0C.4070306@cubiclesoft.com> Cc: PHP internals Message-ID: <56098C51.4060908@telia.com> Date: Mon, 28 Sep 2015 20:52:01 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfGL+4LlInoYb7uNWaaiD07aq8SSzK7BQbQkRKFcxq058Qq//rrsHw6mVkcbabchnwwFXfwaLzuNLecqseuWy6T3CYFXv0sYlzCpllgELBZDd7FTPmAcy7bhrms/dxmLx3d1Yqeo/qhPjdNH18nmv2J1ckhRSMtzkUwCaUtlfHw9rx8XVPq28dfU+MB/WjEwP6HLt4Hmw6xNImwBa4ehQu+o= Subject: Re: [PHP-DEV] async/await - is future reserved words in PHP 7.x? From: bjorn.x.larsson@telia.com (=?UTF-8?Q?Bj=c3=b6rn_Larsson?=) Den 2015-09-28 kl. 18:53, skrev Levi Morrison: > On Mon, Sep 28, 2015 at 9:17 AM, Thomas Hruska wrote: >> On 9/28/2015 1:29 AM, S.A.N wrote: >>> Are there any future plans for - async/await? >>> This need to know now, not to use these words to constants, and class >>> names... >> >> async/await is the single greatest addition to modern application >> development in the last 20 years. Every language needs these features. >> Microsoft completely solved the core problems surrounding multithreaded >> programming with the concepts behind these two keywords. > While not disputing this claim I think PHP should only reserve words > when there are somewhat concrete plans for their use. There have been > talks and draft RFCs for things like void returns and union types with > Foo | null, so reserving `void` and `null` makes sense. Perhaps there > is a massive effort somewhere off-list but I am not aware of any plans > on implementing async/await in PHP. In the interview with Dmitry asynchronous behaviour was mentioned as one key area for the future, see: - https://blog.amasty.com/php-7-and-script-languages-future-insights-from-lead-zend-com-developer Hope it materialises some day! Regards //Björn