Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87151 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42624 invoked from network); 13 Jul 2015 15:32:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jul 2015 15:32:58 -0000 Authentication-Results: pb1.pair.com header.from=derokorian@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=derokorian@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.68 as permitted sender) X-PHP-List-Original-Sender: derokorian@gmail.com X-Host-Fingerprint: 74.125.82.68 mail-wg0-f68.google.com Received: from [74.125.82.68] ([74.125.82.68:34201] helo=mail-wg0-f68.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D5/5B-43998-A2AD3A55 for ; Mon, 13 Jul 2015 11:32:58 -0400 Received: by wgfk9 with SMTP id k9so12549790wgf.1 for ; Mon, 13 Jul 2015 08:32:55 -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=DvlztRLHcFsHdjQByfOmearOReWCNbiA/PGkxJ6AIjg=; b=0FAUZietz6T6C8PL0BztHhUjO6XhgiOa/lFt6hXoaFIjPxQ8o/Vkd6u5FABF94GHn7 PozrdFkjtRvGzW6e6q5SLaM3eb3ZM/y8gGe0YHo0/dV9lvovDPGWisydCZXNiJDY2ed8 BBlXmnU/fFZoV1WYODdTHfhKhfVktnFTJ8Pk7slmJNBCo78CuHSmmctFvgruO98/7pas B9Za6rjFF4cbAAfKire/MpF8P6q00eEE/Sn7oZDjuAZjxALbGpjIfcgjGgenCl25SkcG 08VkhM0jahXCfiR/vajxNxZn6U/L9NClK53qBY2Hrkq97T3svRHR5FlogKCVDfxivfU3 z7ww== MIME-Version: 1.0 X-Received: by 10.194.89.5 with SMTP id bk5mr69992611wjb.144.1436801575049; Mon, 13 Jul 2015 08:32:55 -0700 (PDT) Received: by 10.28.188.70 with HTTP; Mon, 13 Jul 2015 08:32:54 -0700 (PDT) In-Reply-To: <55A36B84.2080809@lerdorf.com> References: <55A16375.4000707@php.net> <55A220D8.3090004@gmail.com> <55A2C1F2.8000301@garfieldtech.com> <55A30267.10204@lerdorf.com> <006201d0bd3b$da87d700$8f978500$@tutteli.ch> <55A36B84.2080809@lerdorf.com> Date: Mon, 13 Jul 2015 09:32:54 -0600 Message-ID: To: Rasmus Lerdorf Cc: Robert Stoll , Larry Garfield , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e010d84007e62e6051ac36fd1 Subject: Re: AW: [PHP-DEV] PHP7 and types From: derokorian@gmail.com (Ryan Pallas) --089e010d84007e62e6051ac36fd1 Content-Type: text/plain; charset=UTF-8 On Mon, Jul 13, 2015 at 1:40 AM, Rasmus Lerdorf wrote: > > Like I said, adding type checks to every assignment is a rather large > change, and I doubt it can be done without some nasty performance costs. > > Honestly, I would rather have a speedy runtime and put the effort into a > static analysis mode built into PHP. The stated goal of so many who push > the strict types everywhere argument is that it helps find bugs. So > let's have an analyze mode that finds these bugs without bogging down > the runtime with thousands of type checks. > > -Rasmus > > Given the size of the change is possibly much larger than I expected. And given that I'm new to the core and its probably not within my wheelhouse to create such a large change, I'm probably not the right person to do the work. As such I think this thread will just die, unless someone wants to volunteer for the work - in which case I would be glad to offer an help I can and write up and manage the RFC. Thanks for all your thoughtful responses! --089e010d84007e62e6051ac36fd1--