Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68084 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37976 invoked from network); 10 Jul 2013 01:08:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jul 2013 01:08:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.46 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.219.46 mail-oa0-f46.google.com Received: from [209.85.219.46] ([209.85.219.46:34554] helo=mail-oa0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/B3-10956-1F3BCD15 for ; Tue, 09 Jul 2013 21:08:01 -0400 Received: by mail-oa0-f46.google.com with SMTP id h1so8912331oag.33 for ; Tue, 09 Jul 2013 18:07:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OLqd1pFi3EOjY17am+eX3muPhRhbKRAT5aY0DFmr/QY=; b=ce5Td5BDJ65WhR7k5ULNxt/mnR6oFoNc5LNO/yoYwQ1Mwz+4rH1nlgySSfJ5mig4hb iIceCvPWxS1NYkUdD9VieghkLlI+zGppehB5svaH00+7q9Cav6Tji9XqXgrG7lSKPgjU CpOfgv5I9gMIAe0+zPvNxWpNl0YuHVoibZ87wYqn8rFD9pEurRW5mnOKR2izAbGwdnjG F9CCxpybKIS5ZwkDocGoeIh6NcumBr+CJ6kc09d0q+T2SwBKQj3ESZWVk8IurenIOH+e /NlebA1SeYxJgTvalkwhs8nfJNWxaJwEID2z272wkg4UrUr9ZxsHCbm5YbM6iHvjOiP2 F/DQ== MIME-Version: 1.0 X-Received: by 10.182.66.46 with SMTP id c14mr26510716obt.33.1373418478913; Tue, 09 Jul 2013 18:07:58 -0700 (PDT) Received: by 10.76.8.5 with HTTP; Tue, 9 Jul 2013 18:07:58 -0700 (PDT) In-Reply-To: References: <1372258135.2410.22.camel@guybrush> Date: Tue, 9 Jul 2013 19:07:58 -0600 Message-ID: To: Sara Golemon Cc: Florin Patan , =?ISO-8859-1?Q?Johannes_Schl=FCter?= , Ferenc Kovacs , Patrick ALLAERT , Julien Pauli , Maxwell , Sherif Ramadan , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=e89a8fb200e690556c04e11de8c2 Subject: Re: [PHP-DEV] Request for comments - new PHP feature: return typing From: morrison.levi@gmail.com (Levi Morrison) --e89a8fb200e690556c04e11de8c2 Content-Type: text/plain; charset=ISO-8859-1 > function foo(SomeClass $bar, int $baz) : bool { > > } > This does have the advantage that function declarations are still grepable. In my experience this is one of the loudest complaints about previous ideas. --e89a8fb200e690556c04e11de8c2--