Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82501 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92294 invoked from network); 11 Feb 2015 23:18:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Feb 2015 23:18:47 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.43 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.43 mail-wg0-f43.google.com Received: from [74.125.82.43] ([74.125.82.43:44459] helo=mail-wg0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BB/44-02515-553EBD45 for ; Wed, 11 Feb 2015 18:18:46 -0500 Received: by mail-wg0-f43.google.com with SMTP id n12so6656631wgh.2 for ; Wed, 11 Feb 2015 15:18:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type:subject:from:date:to :message-id; bh=ziNgalZgSyldOQNj5zoGsfCKRDEA3w4o0kmt704bCvU=; b=H2T1CYzyEUi8ALBMla6sRg7WiVIVtbCNmRVv8DoCR9nHJHXOPeu9CSrDKjOwCt+C3j uI6AoUIvbD+lZX7yfsj0nRephKtiaAO/vsXxJal1R03lNRGd13eLAlIwRb47ogmyONwT xolcg0WrTYXflPVVksZglYvTBWL7c/AnV21rpubtKdHSPcETUxvu1i4RpeKYCdFGo1VA +408WTaC5+nwxYtUGEkfKHa9TL2Rg0IhvlV8bkyUefn5Wom5GaEiqvIQjQyGrdP8jEFn PaJkLwx8RPgRcv4KbbxkQOqGJ0hQbtbNI1eXDK3PFvNeufID+VdDK94OfiQaJfuobnTZ iVhg== X-Received: by 10.194.201.103 with SMTP id jz7mr2244376wjc.14.1423696721544; Wed, 11 Feb 2015 15:18:41 -0800 (PST) Received: from [192.168.0.3] (cpc68956-brig15-2-0-cust215.3-3.cable.virginm.net. [82.6.24.216]) by mx.google.com with ESMTPSA id hr1sm99767wib.1.2015.02.11.15.18.40 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Feb 2015 15:18:40 -0800 (PST) User-Agent: K-9 Mail for Android In-Reply-To: <54DBDA91.5010508@lsces.co.uk> References: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> <54DAF884.7000508@lerdorf.com> <203e611c8e0b03568a868b8d931aec37@mail.gmail.com> <54DBDA91.5010508@lsces.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Date: Wed, 11 Feb 2015 23:18:35 +0000 To: Lester Caine ,internals@lists.php.net Message-ID: <4EA494E9-4AD6-4223-BAC0-BA635C8DE26A@gmail.com> Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints From: rowan.collins@gmail.com (Rowan Collins) On 11 February 2015 22:41:21 GMT, Lester Caine wrote: >On 11/02/15 21:46, Andrea Faulds wrote: >> Anthony Ferrara also had his own analysis which showed some of the >problems with weak type hinting, and where strict types can be >beneficial: http://blog.ircmaxell.com/2015/02/scalar-types-and-php.html > >What is the point of using a 'Better static analyzer' when the bulk of >the material being worked with simply can't be processed 'statically'? >The only result of this passing that I can see is that PHP will start >to >develop two completely different code bases. Anthony closes by saying >that is EXACTLY what he will do ... No, he closes by saying he will use the feature differently in different parts of one code base. Indeed, he makes a specific point about the advantage of having a weakly typed file and a strictly typed file working together.