Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68083 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34103 invoked from network); 9 Jul 2013 23:42:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jul 2013 23:42:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.192.176 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.192.176 mail-pd0-f176.google.com Received: from [209.85.192.176] ([209.85.192.176:39341] helo=mail-pd0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/23-10956-EEF9CD15 for ; Tue, 09 Jul 2013 19:42:38 -0400 Received: by mail-pd0-f176.google.com with SMTP id t12so5721341pdi.21 for ; Tue, 09 Jul 2013 16:42:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=uMw5nh1a84AJ/bzQhG8LH6JihKON1pp6A0cm/+uFDAA=; b=iMOYU5vK8tHnukygmzSNYcJ0RRvOxRCiZT6Iduib30THuuO9bkCXKIq2Bh0zWw//GV M97G1k2eM5k6/dhJXigYJeUwf+rmhdPxEYbsQZ9YQtuFRBGu1hm3QEDuADwGJHH7QM+5 m2tKW3lg3ELjwCZD9X/kyISO3s3cXwanqcK7z9gRx6lPTsGdYpJW9Zp7FR8SZA8K2KiC hvvpw6SKmvrMQA8/5UmqC8nXpheojCTMmCr3i/zY9ybpL2zlrB2/aZqg/y7Vyxd8EHXU IupcXjN3QeYlCUof/CBgU7x9JywEhur9LPL6bu1Xupxicy3b0d+Eml7LWYYTKx6LlLcp KjMw== MIME-Version: 1.0 X-Received: by 10.68.250.5 with SMTP id yy5mr28911985pbc.93.1373413354815; Tue, 09 Jul 2013 16:42:34 -0700 (PDT) Sender: php@golemon.com Received: by 10.70.132.105 with HTTP; Tue, 9 Jul 2013 16:42:34 -0700 (PDT) X-Originating-IP: [2620:0:1cfe:18:22c9:d0ff:fe87:295b] In-Reply-To: References: <1372258135.2410.22.camel@guybrush> Date: Tue, 9 Jul 2013 16:42:34 -0700 X-Google-Sender-Auth: byNabcdYTsca64LmVQHTVWW5KAM Message-ID: To: Florin Patan Cc: =?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=047d7b66f9f724e7cf04e11cb753 X-Gm-Message-State: ALoCoQkBm9wtiLTjUBfs798OvNindNUU78rw/w3yOU213O9dujwcUV2kfn9ZRVei7ssXYXPQhBQD Subject: Re: [PHP-DEV] Request for comments - new PHP feature: return typing From: pollita@php.net (Sara Golemon) --047d7b66f9f724e7cf04e11cb753 Content-Type: text/plain; charset=ISO-8859-1 I know this conversation kinda stopped a couple weeks ago, but I want to throw into the ring that HHVM already has a syntax for return type hinting and it'd be awesome if we (with my PHP hat on) brought the two implementations together rather than take them further apart. In HHVM's case a function might look something like: function foo(SomeClass $bar, int $baz) : bool { } --047d7b66f9f724e7cf04e11cb753--