Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85100 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34835 invoked from network); 16 Mar 2015 22:10:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Mar 2015 22:10:45 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.172 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.172 mail-qc0-f172.google.com Received: from [209.85.216.172] ([209.85.216.172:35933] helo=mail-qc0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/20-34940-3E457055 for ; Mon, 16 Mar 2015 17:10:44 -0500 Received: by qcto4 with SMTP id o4so57739703qct.3 for ; Mon, 16 Mar 2015 15:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=eL2bOs8UFijZqy7a1XdUUIgIIM6ne720u40PlFByJ8g=; b=RLMKXnoeFndeDhVnevmJHhtI139zVFRh4dOfB9Y+dYPbzSugIfEIBu+jB3x4HklLL2 TkVUJ20YFDAsPC4TdYuInIsErDPwsfhCAzzaC3l404P7C58YYc84Lhwk2iZoc0gFo2rJ RO/QeR1Yxe+VcNX1zVoGq4H2BWGkZRiDbIrhh72npVIp1REfc1G6WF4I+AUNWGwEWmFM YiRwCGZBIYz7RM+VQuVzl3fyQPvjQBxqHAGYGg22T8/D4cf1H1snNzodS0wib1yx1Gio 1z0bQl8itYvI039jEqYvWFg+O6DRti1hN8p1tYhTd45SjPM4fmZH/pAs1eqLepeip+7v SnzA== MIME-Version: 1.0 X-Received: by 10.55.19.159 with SMTP id 31mr80329484qkt.24.1426543841600; Mon, 16 Mar 2015 15:10:41 -0700 (PDT) Received: by 10.96.39.195 with HTTP; Mon, 16 Mar 2015 15:10:41 -0700 (PDT) Received: by 10.96.39.195 with HTTP; Mon, 16 Mar 2015 15:10:41 -0700 (PDT) In-Reply-To: References: <35.09.03331.B7BD6055@pb1.pair.com> Date: Tue, 17 Mar 2015 09:10:41 +1100 Message-ID: To: Peter Petermann Cc: PHP internals , Pascal Chevrel Content-Type: multipart/alternative; boundary=001a113ffb46ef6b1105116f1e10 Subject: Re: [PHP-DEV] About declare(strict_types = 1) From: pierre.php@gmail.com (Pierre Joye) --001a113ffb46ef6b1105116f1e10 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mar 17, 2015 7:05 AM, "Peter Petermann" wrote: > > > > On March 16, 2015 2:32:39 PM GMT+01:00, Pascal Chevrel < pascal.chevrel@free.fr> wrote: > > >It's too late, Bob's Basic STH missed the schedule for PHP 7, it was > >proposed way too late and the coercive STH RFC has just zero chance to > >pass, it's too much of a BC break for everybody. The dual mode STH is > >the only chance to have something for PHP 7 and remain competitive with > Rushing through with an controversial solution, because others didn't make a date seems like such a good plan. > > No one is dying if STH doesn't make it into 7.0.0. No one will die if php dies. Your point here is totally irrelevant. > >HHVM, Node.js=E2=80=A6 that we see people switch to. Baidu switched to H= HVM, > >Wikipedia too, in my country big names switched from PHP to node.js and > >that was not just for performance reasons, it was also for the > >features. > hhvm offers an alternative php implementation that tries to be compatible, hack(lang) is where you find the differences you are looking for. That said, I don't see the sky falling if people who need a specific feature use another tool. The adoption rate of hack is tiny. > > As for nodejs, nodejs is a framework, not a language. Javascript does not offer type hints. And if you look at how to compete with nodejs, then what you should be looking at is what needs to be improved with php to allow frameworks like reactphp to work better. How to improve support for non-blocking io. > > And I dunno, but I don't think that "per file" settings make the callback-heavy code that's typical for non-blocking stuff better, in fact I'm convinced it will add an additional layer of headache. > > >Zeev himself admitted that we need something for PHP 7. > If it is THAT important for PHP 7 (and IMHO it's not) then maybe the timeline for PHP 7 needs to be reevaluated, to make sure all dependencies are the best option and not something rushed in because of ::conflict::. I think you may talk to more developers. I have talked to many, at many confs and UGs (and way too many in the last few weeks, across the pacific), I can count users not looking for STH with one hand. --001a113ffb46ef6b1105116f1e10--