Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88542 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73047 invoked from network); 29 Sep 2015 12:20:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Sep 2015 12:20:51 -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:47291] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 18/87-17200-1228A065 for ; Tue, 29 Sep 2015 08:20:50 -0400 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id 46DC74E63D; Tue, 29 Sep 2015 14:20:51 +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 F32004E638; Tue, 29 Sep 2015 14:20:48 +0200 (CEST) Message-ID: <1443529244.15520.67.camel@kuechenschabe> To: Kalle Sommer Nielsen Cc: Pierre Joye , Levi Morrison , PHP internals , Thomas Hruska , "S.A.N" Date: Tue, 29 Sep 2015 14:20:44 +0200 In-Reply-To: References: <56095A0C.4070306@cubiclesoft.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-OYgKIYD/O3cwIvoT1H4x" 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?=) --=-OYgKIYD/O3cwIvoT1H4x Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2015-09-29 at 08:49 +0200, Kalle Sommer Nielsen wrote: > Hi >=20 > 2015-09-29 7:30 GMT+02:00 Pierre Joye : > > 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. >=20 > While I understand the concern, I don't think we should just go > reserve a bunch of keywords if there is no concrete plan an > implementation model, maybe an RFC is having more no votes than yes > votes etc, and we are stuck with 2 keywords that won't be used for > another few years at least I wouldn't block them in the parser. We however could list them in the naming guide http://php.net/manual/en/userlandnaming.php but for keeping this relevant we have to maintain that page :) Async/multi-threading functionality can also be built without keywords using a "future" or "promise" model like C++ or JavaScript. johannes --=-OYgKIYD/O3cwIvoT1H4x 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) iQEcBAABAgAGBQJWCoIcAAoJEH3sTmn8nIPXK8oIAIihtOTSmbizZDzIZyeumPb8 wMaZfubcMGF3KtQl9SQ+OQmIkunHpGPq48V3lt7sYUNKNTfbeeV/sV8KJ/ORrF8L Fv7HNpxAMZ9D89seCBeklcVc9NMUH9rDLqXBn9R0XFkKm6a0oa9at+M3j0BoSIud SN7W/9biXRQPsZ98kBNgvBWTglz1SH17iqmrHKOC2me0dpx0Kj5cucWMzwC5/HdP z0+iKiEphk4mcUO4Sqya1Cj5y9x0CfmvoWU7bwOZzYH3f1lTJrOqXV5RE+UjJptL 0dzeS975YoqGBbc+fYO+rj32Xsiv2KYHoavmUebEA/CAxercjnaaltau3+8/SJM= =YXvn -----END PGP SIGNATURE----- --=-OYgKIYD/O3cwIvoT1H4x--