Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68097 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49361 invoked from network); 11 Jul 2013 19:57:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jul 2013 19:57:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=florinpatan@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=florinpatan@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.169 as permitted sender) X-PHP-List-Original-Sender: florinpatan@gmail.com X-Host-Fingerprint: 209.85.214.169 mail-ob0-f169.google.com Received: from [209.85.214.169] ([209.85.214.169:49048] helo=mail-ob0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/C4-03322-21E0FD15 for ; Thu, 11 Jul 2013 15:57:06 -0400 Received: by mail-ob0-f169.google.com with SMTP id up14so10574374obb.28 for ; Thu, 11 Jul 2013 12:57:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=KacnbTpyHo+kJ8xYRFALxLEdaX/IX+8O+E4oQAdswzs=; b=xVp0rldRAQoes7uluED/fYcIb+zalnpEV2IqADEvi8CScuht66JEDYG5HVuGAk4Dnq vPO+LLlMIzctKtvvDqF2wKrpZ5o++9UDVB/h50+PsPZ1jC4Ml2ZoyBNtuBy92NXAZg7G ZJStsTxHTLD5GxbP9STZG1X7zAv8r2xunkjBAjL8PH2M9VbiqSTCt7fvPOGxcI3n3lwC FnNFxJzeh4vxmxkk1R35ZoavL+PcQk6au324Y3GJv5d82S/FK9hSANPKeAaiNnXI05aG wm1ICpB30XxAKdIQmaHFOFzHJ1ipOhKKWQ9z1YhMWbvaSvPrWU28Y0kysvKtpZopadJJ 1wDw== X-Received: by 10.60.80.165 with SMTP id s5mr32892444oex.55.1373572623980; Thu, 11 Jul 2013 12:57:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.18.161 with HTTP; Thu, 11 Jul 2013 12:56:33 -0700 (PDT) In-Reply-To: <51DF0CDD.7060108@sugarcrm.com> References: <1372258135.2410.22.camel@guybrush> <51DF0CDD.7060108@sugarcrm.com> Date: Thu, 11 Jul 2013 21:56:33 +0200 Message-ID: To: Stas Malyshev Cc: Sara Golemon , "RQuadling@gmail.com" , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Request for comments - new PHP feature: return typing From: florinpatan@gmail.com (Florin Patan) Hey, On Thu, Jul 11, 2013 at 9:51 PM, Stas Malyshev wrote: > Hi! > >> Thanks for your input Sara, everything sounds very interesting. In all >> fairness I haven't looked at HHVM but I from what you described about >> this particular feature sounds good. >> >> Should I conclude that there's enough interest for this feature and >> move from a gist to a RFC? If so, I would definitely need someone to >> help out with the implementation. > > 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. > > While HHVM is a very interesting project, their use case is pretty > specific and narrow, and, as I understand, connected to a single > application (albeit running huge traffic numbers). So I'm not sure > copying whatever they do is necessarily good for PHP as a whole. HHVM > case is basically static compilation of monolithic application, as far > as I remember, which is not how PHP is usually run. It is true that such > mode negates many arguments against static typing, but it negates them > only for specific narrow case of HHVM, not for PHP as a whole. > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 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. As for the HHVM stuff, lets move to the other thread. Best regards, Florin ---- Florin Patan https://github.com/dlsniper http://www.linkedin.com/in/florinpatan