Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37228 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86584 invoked from network); 25 Apr 2008 18:28:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Apr 2008 18:28:16 -0000 Authentication-Results: pb1.pair.com header.from=sam@sambarrow.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sam@sambarrow.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sambarrow.com from 208.70.128.55 cause and error) X-PHP-List-Original-Sender: sam@sambarrow.com X-Host-Fingerprint: 208.70.128.55 smtp-gw29.mailanyone.net Received: from [208.70.128.55] ([208.70.128.55:45745] helo=smtp-gw29.mailanyone.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/D1-18287-FB222184 for ; Fri, 25 Apr 2008 14:28:15 -0400 Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpsa (TLSv1:RC4-MD5:128) (MailAnyone extSMTP sam@sambarrow.com) id 1JpSeZ-0002iQ-P1; Fri, 25 Apr 2008 13:28:11 -0500 To: Alain Williams Cc: internals@lists.php.net In-Reply-To: <20080425182341.GB14490@mint.phcomp.co.uk> References: <1209137410.6642.9.camel@sbarrow-desktop> <1209147362.20639.7.camel@sbarrow-desktop> <20080425182341.GB14490@mint.phcomp.co.uk> Content-Type: text/plain Date: Fri, 25 Apr 2008 14:25:10 -0400 Message-ID: <1209147910.20639.16.camel@sbarrow-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Return type hinting patch From: sam@sambarrow.com (Sam Barrow) > Why note the following (which would be more C like): > > function return int a($arg1, $arg2) { > } > > It gets a little long when you're using classes abstract protected function return int dostuff() { } vs abstract protected function dostuff() return int { }