Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57049 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3436 invoked from network); 23 Dec 2011 00:40:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Dec 2011 00:40:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=keisial@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=keisial@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: keisial@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:50293] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 73/D1-28504-30EC3FE4 for ; Thu, 22 Dec 2011 19:40:36 -0500 Received: by wera13 with SMTP id a13so4018777wer.29 for ; Thu, 22 Dec 2011 16:40:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=666d7M3CkdgOr/lmCs7Kamq7y5Hmjq+GtheytP7eFA0=; b=SSEYDyF97lnks0uabKMcjpLpc3QWMRsfpjUYiqQ6M/5KyHI/fpVHGAWxmsk7W1brrL peVFBx7ru0B9PuoeOeJ2f3u7LGqgQR9Acr+uOM1FrJFTJMwFI4hb2ppuHBBLJ+JTap7G +gIx43VxTv0wMw2SPwtHS+TN0Ud4ZgDppixo4= Received: by 10.216.133.204 with SMTP id q54mr7206614wei.10.1324600832551; Thu, 22 Dec 2011 16:40:32 -0800 (PST) Received: from [192.168.1.26] (51.Red-83-49-113.dynamicIP.rima-tde.net. [83.49.113.51]) by mx.google.com with ESMTPS id 28sm11629319wby.3.2011.12.22.16.40.31 (version=SSLv3 cipher=OTHER); Thu, 22 Dec 2011 16:40:31 -0800 (PST) Message-ID: <4EF3CEFA.4000301@gmail.com> Date: Fri, 23 Dec 2011 01:44:42 +0100 User-Agent: Thunderbird MIME-Version: 1.0 To: PHP Developers Mailing List References: <2095305E-D4E3-4D7E-8218-32EE99688E0C@GMAIL.COM> <2C90FB94-38C4-4270-8C6A-B89304BA8ED8@gmail.com> <159A7CA2-8561-40DA-9434-CAAE12304DDB@gmail.com> <4EF3B56A.4040809@gmail.com> <-2451498990672032588@unknownmsgid> <4EF3C99F.4010300@gmail.com> In-Reply-To: <4EF3C99F.4010300@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Return Type Hinting for Methods RFC From: keisial@gmail.com (=?UTF-8?B?w4FuZ2VsIEdvbnrDoWxleg==?=) > (I'm unsure about the T_DOUBLE_ARROW, although for parsing, I feel there > should be some token there > before the class name, though I'm unconvinced on which) What about this? function foo (Class1 $a, Class2 $b) return Class3 { /* Do something */ return new Class3($a, $b); }