Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68105 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64326 invoked from network); 11 Jul 2013 21:00:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jul 2013 21:00:12 -0000 Authentication-Results: pb1.pair.com header.from=florinpatan@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=florinpatan@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.48 as permitted sender) X-PHP-List-Original-Sender: florinpatan@gmail.com X-Host-Fingerprint: 209.85.219.48 mail-oa0-f48.google.com Received: from [209.85.219.48] ([209.85.219.48:43933] helo=mail-oa0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0F/B7-03322-BDC1FD15 for ; Thu, 11 Jul 2013 17:00:12 -0400 Received: by mail-oa0-f48.google.com with SMTP id f4so11978556oah.35 for ; Thu, 11 Jul 2013 14:00:05 -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=f/fYFG4rj6f6l6FOoLZTwGOyJPdo6cpdEfHWbSdN2aY=; b=oQkGg91/SllEAMXWzNfemaLY3q4Ve7RmpS6Li/WLHQ9climKNWhJK9QwNKzWveT4Ja +XL9+2blbYRMEaZ8Uy/AMku6uzJOCHdfnZnXNjCeaAwDexHb2TSUG4HOnLR4uqWD3KJZ GULIKo1hfhwbSl+tZ0sVsuifzPdTyCgszjRXj5pWEh8ljQ+vMpqyWED8Xgo3vFiMMAJn 4JgMmaacwXA94DIl/RO3QyfXZ3ACmtae8A6l7OCSaD5oWkjiBOtmJPwsRWFQTx0vrFOl J66gfcnmpJfOsGMV8DxB+gSefBnFM1Eu5rVzqxAGGzBDJl7J0MLYMAuNZ/gr5+NIuhiJ RdFg== X-Received: by 10.60.38.199 with SMTP id i7mr33280530oek.36.1373576405059; Thu, 11 Jul 2013 14:00:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.18.161 with HTTP; Thu, 11 Jul 2013 13:59:34 -0700 (PDT) In-Reply-To: References: <1372258135.2410.22.camel@guybrush> <51DF0CDD.7060108@sugarcrm.com> Date: Thu, 11 Jul 2013 22:59:34 +0200 Message-ID: To: Sara Golemon Cc: Nikita Popov , Stas Malyshev , "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) On Thu, Jul 11, 2013 at 10:52 PM, Sara Golemon wrote: > I agree 100%. > > This particular item has been in the works since before I joined the team > and I've given them a bollocking out over it. You may have noticed > UConverter and a few other changes which WERE proposed to internals@ prior > to inclusion in HHVM and the implementation of those features were changed > based on the feedback received from this group. > > I'm on PHP's side, guys. > > > On Thu, Jul 11, 2013 at 1:47 PM, Nikita Popov wrote: >> >> On Thu, Jul 11, 2013 at 10:27 PM, Sara Golemon wrote: >>> >>> I won't suggest that PHP should follow HHVM, if anything I'll usually >>> (and >>> have frequently) rallied for the other way around. In this case, >>> however, >>> as with Generators, I think that we should endeavor to keep the >>> implementations close together by the most appropriate means. I don't >>> want >>> two versions of PHP syntax. >> >> >> It would be nice if the HHVM devs could send a mail over to internals when >> you're including new syntax, so we are a) aware of the fact that you're >> adding it and might consider adding it too and b) have a chance to provide >> some input on the feature (in particular also in order to bring it into a >> form that PHP would be willing to include). >> >> I understand that discussing some new feature on internals most likely >> needs five times more time than actually implementing it in HHVM, but I >> think that it would benefit everyone if there was some communication between >> the projects :) >> >> Nikita > > Helo, @Sara: thank you for the offer, I'll send you a mail, if it's ok with you, in the next days, I'd want to make this as a tutorial and maybe me implement it with your guidance, but more on this another time. @All: please keep this discussion about adding the return typing feature to PHP. There's a separate thread for HHVM + PHP and I think it's a better place to talk about these issues. Search for title: 'Integrate HHVM into PHP (Was: Re: [PHP-DEV] Request for comments - new PHP feature: return typing)'. Also, I think it is great that people from FB could participate in this since they are the largest instalment of PHP, if I'm not wrong, and, while their needs might be sometimes specific to their business/application, it's clear that their ultimate goal is a better language and better performance, which I believe it's the same as everyone here wants. Thank you. Best regards, Florin