Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74041 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23595 invoked from network); 7 May 2014 22:35:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 May 2014 22:35:47 -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.29 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 66.111.4.29 out5-smtp.messagingengine.com Received: from [66.111.4.29] ([66.111.4.29:59653] helo=out5-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1C/F4-30354-145BA635 for ; Wed, 07 May 2014 18:35:45 -0400 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 7C08A20975 for ; Wed, 7 May 2014 18:35:43 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 07 May 2014 18:35:43 -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=JwtmcqnCH/QNDQHOD9a5jS BcLs4=; b=byPgHJaIOvqKkYq5Ned8oItyMesdeh/HB8CFsSBC2/faxXuDA6b52Y iubuHEH9f0tKNKcW8ZyevaF+M8E48YOEat6RnPzVA+MYB6ovGaZpeO7zH3JLqjYn lgeRx+STpHtAq5XkBu7UyDXD43FZKOX6WE1W/6obSKegH0Gf4r8Fs= X-Sasl-enc: FMg8iGY2jpBEui7R6a/SM+l+rkfcx+g9TahVr0Oe4W1E 1399502143 Received: from Palantirs-MacBook-Pro-2.local (unknown [63.250.249.138]) by mail.messagingengine.com (Postfix) with ESMTPA id 4C79E68010F for ; Wed, 7 May 2014 18:35:43 -0400 (EDT) Message-ID: <536AB53F.4070701@garfieldtech.com> Date: Wed, 07 May 2014 17:35:43 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: internals@lists.php.net References: <535E9AED.2080904@garfieldtech.com> <535ECB9E.5050701@garfieldtech.com> <535FC0DE.5050709@garfieldtech.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Return Type Declarations From: larry@garfieldtech.com (Larry Garfield) On 5/7/14, 5:30 PM, Levi Morrison wrote: > On Wed, May 7, 2014 at 11:02 AM, Lin Yo-An wrote: > >> Hi, >> >> Why using an additional ":" symbol for the return type? what about >> considering this: *snip* > In the case of the colon I value being compatible with Hack more than the > small gain of omitting the colon. ^^ What Levi said. Colon vs. no colon is an easily bikesheddable discussion, and I'm happy to answer that with "follow HACK's lead to avoid confusion/incompatibility later". --Larry Garfield