> -----Original Message----- > From: Anthony Ferrara [mailto:ircmax...@gmail.com] > Sent: Thursday, February 26, 2015 10:24 PM > To: Zeev Suraski > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] A different user perspective on scalar type > declarations > > Zeev, > > > > When I say you need to worry about them a lot less - I mean that you > > can get 90%+ of the benefits of strict mode, for ALL of your code, > > with a tiny fraction of the hassle. > > From past posts, it's very clear you believe that large projects would > > gradually migrate to being strict across the board. If we compared > > the > > Well then, you've heard things I've never said.
I'm referring to this: > A few hundred LOC script would likely never enable strict mode, and would > be just fine because of it (you can mentally keep a few hundred LOC in > your head at one time). > > The larger the project, the more the contributors, the more the benefits > to using strict mode. That's not to say that large projects would > immediately go full strict. It's just pointing out that the tradeoffs > would need to be weighed by the authors. The way I read it, "not immediately going full strict" implied they'd gradually go full strict, as opposed to not at all (in which case saying "That's not to say that large projects will necessarily want to go full strict " would have perhaps been more appropriate). Apologies if I misunderstood you. > > Given that I actually ran Magento, Drupal, WordPress and both the > > Symfony and ZF2 skeleton apps with the new coercive ruleset, and I > > already know there's no reason at all to be scared. More on that > > later today or early tomorrow - running more tests. > > They run without triggering E_DEPRECATED errors? Because that means they > will break with 8 (which by your own words is closer to 2-3 years out than > 9- > 10). Not without, but at least in my testing so far - the things that are picked up by the coercive rule-set are quite precise and have excellent signal to noise ratio. We're still working on the patch so I don't want to provide the results just yet because they might be bogus, but I'll share them as soon as they're stable. Thanks, Zeev -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php