Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68107 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68418 invoked from network); 11 Jul 2013 21:20:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jul 2013 21:20:13 -0000 Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 66.111.4.25 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 66.111.4.25 out1-smtp.messagingengine.com Received: from [66.111.4.25] ([66.111.4.25:58942] helo=out1-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/88-03322-B812FD15 for ; Thu, 11 Jul 2013 17:20:11 -0400 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 7E26120B62 for ; Thu, 11 Jul 2013 17:20:05 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 11 Jul 2013 17:20:06 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=HVqqsCGMCrzOK3A1dmUaFb j21lQ=; b=KWhnmWCvbPir4lxJfhzjdty0bdiU/a7SoG7Z6w46rDf0AbbP2s3TsP taaQZ4FZJi+NTOjo9KnWWq+AGGaKDMyjs22gcTetbYiSFBeKWany/BVO50FepcYa Yjgs0ePp1NbJx1ekq4iopQs+YOE9HTnsdJbCn9yrOGTUO9k2vsGYU= X-Sasl-enc: I3qZlL8cBMbZPRJ+KtWfkY444kqRiBvT6eBDzs04kbsh 1373577605 Received: from Palantirs-MacBook-Pro.local (unknown [63.250.249.138]) by mail.messagingengine.com (Postfix) with ESMTPA id 4FEF06804B8 for ; Thu, 11 Jul 2013 17:20:05 -0400 (EDT) Message-ID: <51DF2185.5020104@garfieldtech.com> Date: Thu, 11 Jul 2013 16:20:05 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: internals@lists.php.net References: <1372258135.2410.22.camel@guybrush> <51DF0CDD.7060108@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Request for comments - new PHP feature: return typing From: larry@garfieldtech.com (Larry Garfield) On 7/11/13 2:56 PM, Florin Patan wrote: >> We already have a bunch of RFCs about strict typing in PHP: >> https://wiki.php.net/rfc/typechecking >> >> So I personally am not sure we need yet another RFC on the topic - given >> that we discussed previous ones multiple times. > You are right, as part of the moving from gist to RFC I'll try and > contact the authors and see if they are still interested in this > topic. Friendly recommendation: Keep the RFC and all discussion tightly focused on adding optional return typing for callables, but ONLY for things that are already type hintable as parameters. Trying to expand beyond that will run right smack into the ancient battlefield of strict typing discussions, and the ghosts of brave souls that have fought and died upon it. :-) I'm pretty sure that would kill the proposal in OT chatter. --Larry Garfield