Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49159 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31542 invoked from network); 29 Jul 2010 07:32:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jul 2010 07:32:31 -0000 Authentication-Results: pb1.pair.com header.from=christian.kaps@mohiva.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=christian.kaps@mohiva.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain mohiva.com designates 78.46.69.5 as permitted sender) X-PHP-List-Original-Sender: christian.kaps@mohiva.com X-Host-Fingerprint: 78.46.69.5 zucker.schokokeks.org Received: from [78.46.69.5] ([78.46.69.5:60420] helo=zucker.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9C/81-21430-E8E215C4 for ; Thu, 29 Jul 2010 03:32:31 -0400 Received: from roundcube.schokokeks.org (localhost [::ffff:127.0.0.1]) (AUTH: LOGIN christian.kaps@mohiva.com, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by zucker.schokokeks.org with esmtp; Thu, 29 Jul 2010 09:32:26 +0200 id 0000000000018011.000000004C512E8A.0000253F MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Thu, 29 Jul 2010 09:32:26 +0200 To: Felipe Pena Cc: internals In-Reply-To: References: Message-ID: <4a4936d9c853bd6e192692d412090ac7@localhost> X-Sender: christian.kaps@mohiva.com User-Agent: RoundCube Webmail/0.4-beta Subject: Re: [PHP-DEV] [RFC] Return type-hint From: christian.kaps@mohiva.com (Christian Kaps) I would like to see this in the next major/minor release, together with the traits and the type-hint implementation. This would be a great language improvement. From my end-developer standpoint a big +++ On Wed, 28 Jul 2010 22:49:03 -0300, Felipe Pena wrote: > Hi all, > I've updated the patch and the RFC that proposes the return type-hint > implementation (Engine + Reflection). > The proposed implementation is working just like the last changes in the > parameter type-hint (in trunk). i.e. working with the "scalar" and > "numeric" > pseudo-types. > > http://wiki.php.net/rfc/returntypehint > > Thoughts?