Hi Dmitry, > On 2 Feb 2015, at 20:43, Dmitry Stogov <dmi...@zend.com> wrote: > > I don't think we will implement strict semantic for operators. > It's not going to be PHP anymore.... > $s = (string)$a . (string)$b;
There’s no need either: operators always produce a specific type (or one of a set of types) so it doesn’t really cause a problem. Though there are some improvements we could make. It’d be nice if ‘’ + 1 produced a notice, that’s caught me out several times before. Thanks. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php