Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71316 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44930 invoked from network); 20 Jan 2014 09:54:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jan 2014 09:54:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=linepogl@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=linepogl@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.181 as permitted sender) X-PHP-List-Original-Sender: linepogl@gmail.com X-Host-Fingerprint: 209.85.212.181 mail-wi0-f181.google.com Received: from [209.85.212.181] ([209.85.212.181:40166] helo=mail-wi0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A2/98-02192-F42FCD25 for ; Mon, 20 Jan 2014 04:54:23 -0500 Received: by mail-wi0-f181.google.com with SMTP id hi8so2929165wib.14 for ; Mon, 20 Jan 2014 01:54:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc :content-type; bh=xswv6SHugXkKcTGgcruJZxWppmaVo4iSjUtUSxZcKGo=; b=nWKLl3CJ7AJkBOaxtxRz2Xj20XPmFG0nvrYSr/lSp0+pslvEqrS4F28dw6NNrtkde6 67eRKztOvx1WS6m3uzSS8vYbDxFz8Q/mAwuc3Yu78PE3joUPV+kYJlETucU1d8DfELG8 wP1CWvy8+SZ9KkwUi57/RvHNIudlCdhpF4GYJoaFdv7hLVSi//sZfZ+oOa6L1KMtbRDY bfk8sfwSpGKyPOzD+UhY2CGACrkQ5mT37yAklmQX9WsddzQfUTmxyqeWJemi8YSh76LJ 9wVVXenCMflg6y8UzpZB+G/UnTn68I7Uta/D3lqvO2VUFknYHH50edspwJcsHSY4FED8 kvKQ== X-Received: by 10.194.8.229 with SMTP id u5mr13831wja.80.1390211660532; Mon, 20 Jan 2014 01:54:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.206.132 with HTTP; Mon, 20 Jan 2014 01:54:00 -0800 (PST) In-Reply-To: References: <002d01cf1234$01e6dc60$05b49520$@tutteli.ch> <004c01cf123d$35730870$a0591950$@tutteli.ch> <52D71748.1090402@googlemail.com> <52D71FAE.8030002@ajf.me> <005001cf124f$3a40df00$aec29d00$@tutteli.ch> <20140116110127.202079vzjsj76n7b@webmail.tutteli.ch> <0B.B1.24763.139B7D25@pb1.pair.com> <002001cf12da$2bfbda90$83f38fb0$@tutteli.ch> <52DCA3E7.80602@lerdorf.com> <52DCC067.9090603@garfieldtech.com> Date: Mon, 20 Jan 2014 10:54:00 +0100 Message-ID: Cc: internals Content-Type: multipart/alternative; boundary=047d7b5d35de304ffc04f063e00e Subject: Re: [PHP-DEV] Introducing "Array Of" RFC From: linepogl@gmail.com (Lazare Inepologlou) --047d7b5d35de304ffc04f063e00e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, on 2014/1/16 Sara Golemon wrote: > * Soft types - Any type preceeded by an at sign is hinted as that type, > but not checked: > function foo(@Bar $IHopeYoureABarObject) {...} Nobody has commented so far about this feature of HHVM, which, in my opinion is a win-win: + Clarifies the contract between the function designer and the function user. + Makes the life easy for IDEs and static analysis tools. + No run-time penalty. Thoughts? -- Lazare INEPOLOGLOU Ing=C3=A9nieur Logiciel --047d7b5d35de304ffc04f063e00e--