Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88574 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70016 invoked from network); 29 Sep 2015 22:39:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Sep 2015 22:39:48 -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.43 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.213.43 mail-vk0-f43.google.com Received: from [209.85.213.43] ([209.85.213.43:32795] helo=mail-vk0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CB/D3-46083-2331B065 for ; Tue, 29 Sep 2015 18:39:47 -0400 Received: by vkgd64 with SMTP id d64so14601345vkg.0 for ; Tue, 29 Sep 2015 15:39:44 -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=JCpKfRsJ9p5N6maVxXZyzGUaH3zuZ1BmM9H53GUmVds=; b=h2cIRn6SNBF/mD060aAk8A70n7we5JBDCM9el0xXmr10Uf99aKDNke3KRaxxstQLPm y9L/sGD0BAwNiYGOBHdKaN0ktUyf6UTJGmLsg9MFsE3AsHhvNT12ccZEp+o5PiFOG/G2 tJ0T1s9WCYZM/GdrMWh3bel0G6+UjrhFWInv7xFCd5IVqyRW27k8QNi0tWJI/KeRy6Cu tJ0WqD7M9YPM+w2cd4Oj5irClNuU5Su46ocvkcuYxtjSJZ+sVihCJUMaWWvIuvCYSkQE 0+O9PmPB1lGOORiq6U/QG/m/7SaC2YvHvN/lcLpdxb5RO4NSwmUy05WWoYtaMcKqisLe WSDg== X-Gm-Message-State: ALoCoQlTg2xaoC/tRZPF2ntJ3cpOKuA6HUKZ99SvWfgDL19+zVXCLLy76b37ZJZnuUZSDVptu4Of686pmEoAzWC2zDzHsz64xNYbqCPob/R/OtndYluvldw4agJPwPxlZeGM+v+Adw00RRMIrOfgnO7OdRsvVAVMfRyI+Y1O7IkO6tKgkaqqPxk= MIME-Version: 1.0 X-Received: by 10.31.16.38 with SMTP id g38mr298296vki.83.1443566384092; Tue, 29 Sep 2015 15:39:44 -0700 (PDT) Received: by 10.103.24.5 with HTTP; Tue, 29 Sep 2015 15:39:44 -0700 (PDT) In-Reply-To: <1443565346.10840.17.camel@kuechenschabe> References: <56095A0C.4070306@cubiclesoft.com> <1443565346.10840.17.camel@kuechenschabe> Date: Wed, 30 Sep 2015 01:39:44 +0300 Message-ID: To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= Cc: Sara Golemon , Pierre Joye , Levi Morrison , PHP internals , Thomas Hruska , "S.A.N" Content-Type: multipart/alternative; boundary=001a11431e7688b8b20520ea7ddd Subject: Re: [PHP-DEV] async/await - is future reserved words in PHP 7.x? From: dmitry@zend.com (Dmitry Stogov) --001a11431e7688b8b20520ea7ddd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Sep 30, 2015 at 1:22 AM, Johannes Schl=C3=BCter wrote: > On Tue, 2015-09-29 at 11:29 -0700, 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? > > Just for history: > > Actually we didn't reserve "use" on purpose. In commit 5463dd5b in > November 1999 Andi implemented a "use" feature which worked like > require_once, which was introduced later. The feature was removed but > unused "use" was kept by accident. In 5.3 we decided to use this unused > keyword instead of adding a new keyword. > > https://github.com/php/php-src/commit/5463dd5b387298a84736e590e5d213f5baf= e9435 I think "use" was introduced by namespace implementation that was proposed during 5.0 development and then reverted before GA release. Thanks. Dmitry. > > > We never purposely introduced a keyword. Only comparable thing was > backporting a the b"" prefix for binary strings from meanwhile abandoned > PHP 6 to 5.2(?).for forward compatibility. That has proven to be > useless. > > Again an indication not to add async/wait keywords *now* as > placeholder. :-) > > johannes > > --001a11431e7688b8b20520ea7ddd--