Hi Stas,

> -----Original Message-----
> From: Stanislav Malyshev [mailto:smalys...@gmail.com]
> Sent: Tuesday, November 24, 2015 6:28 PM
> To: Andrea Faulds <a...@ajf.me>; internals@lists.php.net
> Subject: Re: [PHP-DEV] Re: Scalar Type Declaration Syntax Weirdness
> 
> Hi!
> 
> > It can't wait for 7.0.1, because banning this would be a
> > backwards-compatibility break with 7.0.0. We have to fix it in 7.0.0
> > or not fix it ever.
> 
> In theory, yes. In practice, if somebody starts using 7.0.0 and immediately 
> jumps
> to using \int, I don't feel too bad for breaking that code. We can put a note 
> in
> release notes for this is needed. But the risk of changing syntax parts on the
> brink of GA IMHO is much larger than the risk of somebody using \int in 7.0.0
> and getting breakage in 7.0.1. Especially if it's clearly described as a bug 
> we
> intend to fix.
> 
that's my point as well. There is a clear documentation about type hints, usage 
of an undocumented way is out of scope of BC. Using \int means there were a 
"class int{}" which is prohibited. Of course it is a bug after all, which will 
be addressed.        

Regards

Anatol


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to