Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88873 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46769 invoked from network); 19 Oct 2015 13:31:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Oct 2015 13:31:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=bobwei9@hotmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=bobwei9@hotmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.com designates 65.55.111.101 as permitted sender) X-PHP-List-Original-Sender: bobwei9@hotmail.com X-Host-Fingerprint: 65.55.111.101 blu004-omc2s26.hotmail.com Received: from [65.55.111.101] ([65.55.111.101:60745] helo=BLU004-OMC2S26.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/F4-07045-C90F4265 for ; Mon, 19 Oct 2015 09:31:09 -0400 Received: from BLU436-SMTP175 ([65.55.111.72]) by BLU004-OMC2S26.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Mon, 19 Oct 2015 06:31:05 -0700 X-TMN: [I3fLmZncBpoyO7q0XaSO8e0RndzidxMJ] X-Originating-Email: [bobwei9@hotmail.com] Message-ID: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 (Mac OS X Mail 9.0 \(3094\)) In-Reply-To: Date: Mon, 19 Oct 2015 15:31:00 +0200 CC: Rowan Collins , internals@lists.php.net Content-Transfer-Encoding: quoted-printable References: <0A.C2.33697.6AECE165@pb1.pair.com> <561ED07E.4060809@gmail.com> <561F6718.7020900@gmail.com> To: Derick Rethans X-Mailer: Apple Mail (2.3094) X-OriginalArrivalTime: 19 Oct 2015 13:31:02.0776 (UTC) FILETIME=[66351780:01D10A72] Subject: =?utf-8?Q?Re=3A_=5BPHP-DEV=5D_=5BRFC=5D_Void_Return_Type_=28v0?= =?utf-8?Q?=2E2=2C_re=C3=B6pening=29?= From: bobwei9@hotmail.com (Bob Weinand) > Am 19.10.2015 um 11:46 schrieb Derick Rethans : >=20 > On Thu, 15 Oct 2015, Rowan Collins wrote: >=20 >> Korvin Szanto wrote on 14/10/2015 23:55: >>> If I capture the result of a "void" method and check if my result = variable >>> with isset(), I'll get false. This sounds like it's void of value to = me. >>=20 >> But why "invent" (as far as PHP is concerned) this new keyword of = "void" to >> mean exactly the same thing "null" already means - absence of a = definite >> value? >=20 > It's already "invented" for PHP anyway:=20 > http://docs.hhvm.com/manual/en/hack.annotations.examples.php - example=20= > 2. >=20 > cheers, > Derick When something is "invented" in Hack, =E2=80=A6 How is that related to = PHP? Hack is a language where a major equal subset is same as in PHP, yes. = But that's still not a reason to say it were "invented" for PHP. Please do not use Hack as ultima ratio here, it just is one language = like C, Java etc. which happens to have more in common with PHP than = most. But it still is just one other language. It's not PHP. Bob=