On 13 Jul 2014, at 15:59, Jocelyn Fournier <jocelyn.fourn...@gmail.com> wrote:
> From my point of view, if the type annotations are doing implicit cast (with > or without E_NOTICE/E_STRICT warning), they should behave exactly the same > than an explicit cast. If it behaves differently, I'll be really difficult > for a developer to guess what will be the PHP behaviour with this new syntax. Well, they do. The results of implicit scalar type hint casts are, so far as I know, the same as explicit casts, but some cases lead to errors which don’t in an explicit casts. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php