Hi, > On 5 Feb 2015, at 19:15, Dmitry Stogov <dmi...@zend.com> wrote: > > "works" and "fits" are different.
Fair point. > Strict type hinting may help catching problems only at run-time. > > In PHP you almost never can do something ahead of time, because of run-time > binding. > You may only guess, analyzing the whole projects and performing type > inference. This is true to an extent. However, there are still some things you can catch ahead-of-time. One of the things strict mode caught could’ve been noticed by a static analyser. The other probably wouldn’t have been. Strict typing tends to be better for catching errors ahead-of-time, and I think with return types it’ll get even better. Thanks for your input. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php