Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37298 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19825 invoked from network); 29 Apr 2008 15:37:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Apr 2008 15:37:09 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.184.235 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 64.233.184.235 wr-out-0506.google.com Received: from [64.233.184.235] ([64.233.184.235:27876] helo=wr-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A2/45-26601-3A047184 for ; Tue, 29 Apr 2008 11:37:07 -0400 Received: by wr-out-0506.google.com with SMTP id 50so64332wri.2 for ; Tue, 29 Apr 2008 08:37:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=RRJsLGeGcqhgXAGWTlDA5ZIJJWNCMbSqTqB4ZK/9MpI=; b=v90D1o1cNo1ortgYXR2AiGpFrbUU2SReADLgE/5XsC0y63pkZd1IjBeYSliv3ce5lsFjwyfQYF0rtoJ75TPGP/NnSynqEMa59xWYGOmzFFTPla2cdGQnaGmuDq0UwXnoKAj9uTvH1XBc6BgSX6P/lXlBjV1Onh5lcgGJTo8gVIU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JY+Cdqw6sYLQ15eArMfUmVPVXOPDESDYVF7bONtwwE/wfvXoIWbSMvQGqvyxdKJvg3gYwVVNz2nYAxgCE+IiPQd/2/WoiFqM1RTFLdXMnBWef9jCZZ9gvkA/60CXeeHcz4WC+217nHasIRKWvWSxldb2X95aJd6dIlASipUtOg8= Received: by 10.140.133.10 with SMTP id g10mr3753377rvd.151.1209483424205; Tue, 29 Apr 2008 08:37:04 -0700 (PDT) Received: by 10.141.123.13 with HTTP; Tue, 29 Apr 2008 08:37:04 -0700 (PDT) Message-ID: Date: Tue, 29 Apr 2008 17:37:04 +0200 To: "Sam Barrow" Cc: "Nathan Nobbe" , "=?ISO-8859-1?Q?David_Z=FClke?=" , "Alain Williams" , internals@lists.php.net In-Reply-To: <1209482524.3257.9.camel@sbarrow-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1209137410.6642.9.camel@sbarrow-desktop> <48122C14.7070705@omegavortex.net> <1209150944.20639.24.camel@sbarrow-desktop> <7dd2dc0b0804251224s750679acn169637efbd8653fa@mail.gmail.com> <1209151505.20639.25.camel@sbarrow-desktop> <20080425231305.GC14490@mint.phcomp.co.uk> <9484717D-2EC6-44FF-93C8-1A9911294AF6@bitxtender.com> <7dd2dc0b0804261524l22237b58tfb9d0a341ab77233@mail.gmail.com> <1209482524.3257.9.camel@sbarrow-desktop> Subject: Re: [PHP-DEV] Return type hinting patch From: pierre.php@gmail.com ("Pierre Joye") On Tue, Apr 29, 2008 at 5:22 PM, Sam Barrow wrote: > > Well in summation I think this is something that should be implemented, > I don't see any arguments against implementing this atleast for arrays > and classes, like we already have for function parameters. > > The only thing left would be to decide on the syntax > > public array function x() { // Probably the easiest > public array x() { // I like this best, if it's possible > public function x() return array { // Probably not, just throwing it out > there > > Agree? Again, what's about the well written RFC and patch from RFC? Have you contacted him and/or tried to get things done there instead of duplicating the discussions, the work and the code? Thanks for your work, Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org