Re: Coercive Scalar Type Hints RFC

From: Date: Sat, 21 Feb 2015 23:20:25 +0000
Subject: Re: Coercive Scalar Type Hints RFC
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-83446@lists.php.net to get a copy of this message
Hi, I intended on replying to this thread at a later stage (and probably will), but I just can't ignore this one: On Sun, Feb 22, 2015 at 12:02 AM, Zeev Suraski <zeev@zend.com> wrote: > > Secondly, there you are: http://www.checkmarx.com/ - > they've been > developing pretty amazing static analyzers for PHP for years, and without > any type of scalar hints - strict or weak. > Having used that product, I can tell you that it's not at all that amazing for PHP (maybe it works well for other languages, don't know), and that's an understatement. In fact, a lot of what it does is to force you into explicit casts. Cheers, Andrey.

« previous php.internals (#83446) next »