Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88572 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66757 invoked from network); 29 Sep 2015 22:22:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Sep 2015 22:22:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:49834] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1B/23-46083-92F0B065 for ; Tue, 29 Sep 2015 18:22:34 -0400 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id 86E904E656; Wed, 30 Sep 2015 00:22:34 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on km31408.keymachine.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=4.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-HAM-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from [192.168.2.34] (ppp-93-104-16-211.dynamic.mnet-online.de [93.104.16.211]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id C724B4E655; Wed, 30 Sep 2015 00:22:31 +0200 (CEST) Message-ID: <1443565346.10840.17.camel@kuechenschabe> To: Sara Golemon Cc: Pierre Joye , Levi Morrison , PHP internals , Thomas Hruska , "S.A.N" Date: Wed, 30 Sep 2015 00:22:26 +0200 In-Reply-To: References: <56095A0C.4070306@cubiclesoft.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-C7v6h8bG2Sv+HL7m2EyB" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Subject: Re: [PHP-DEV] async/await - is future reserved words in PHP 7.x? From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) --=-C7v6h8bG2Sv+HL7m2EyB Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2015-09-29 at 11:29 -0700, Sara Golemon wrote: > On Mon, Sep 28, 2015 at 10:30 PM, Pierre Joye wrot= e: > > This model totally failed for us in the past. And given that these keyw= ords > > will be used for anything related to async APIs, let reserve them and p= ut > > 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/5463dd5b387298a84736e590e5d213f5bafe9= 435 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 --=-C7v6h8bG2Sv+HL7m2EyB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABAgAGBQJWCw8jAAoJEH3sTmn8nIPXcP0H/2RAPaIeHO1TR2SRA0ie69lb JHSzMc1ZHjZH2LpSK5p3tWU11J1PFqt1n9OYTc15jCsa51ZXhVE6cyNzlqGZawbs zCsJFvAvzQN/PHjmms6qGr0GCZ9rnK+2WI+R7CsEqiQNBKBDuzW7BADHZJBEP9aF Il2Nj77RuJJWdM56kNn/I6paksj86RReK/PkBS4BrhTCqYTMu4y2Tf5XNfKGCfn/ lOWljqR21QuT3mHe1sVlIcz/anW596aZjMLpvjYvpBWvPlryJ4W4Ew3+TLoXpyWi tQGhN+OjETnI1eq9WZAMtGaYkHAv7de2LnZrepF6NHfVXUVBBkQ1cqOyqR652y8= =Aq/V -----END PGP SIGNATURE----- --=-C7v6h8bG2Sv+HL7m2EyB--