Hi Andrea,
On 16/12/2014 12:10, Andrea Faulds wrote:
It'd be nice to describe what we have now for 5.7 - i.e. which
deprecation messages and other warnings are on the agenda? Doesn't have
to be the exclusive list but at least to give the idea what we're
talking about.
At the moment, there’s Levi’s RFC to disallow multiple defaults in switch
statements, which adds an E_DEPRECATED notice in 5.7.
I don’t think there’s anything else. It might be worth adding some sort of
warning for Nikita’s Remove alternative PHP tags RFC. Perhaps also for the
Integer Semantics RFC, warning that shifts by negative numbers of bits will be
disallowed in PHP 7, or for the Fix list() behaviour inconsistency RFC since
strings won’t work in list() now.
I was initially very much in favour of a 5.7 release, but given the
current lack of big BC breaks I'm not so sure. I can even run a dinosaur
like Revive on PHP7!
If the list of BC breaks grows (e.g. PHP4 constructors -- which I
seriously hope doesn't pass -- or other big / evil ones), then I could
change my mind once again, but as of now I personally see little gain in
a PHP 5.7.
That said, I think an RFC is good, but we should run the vote only when
we know exactly when PHP7 is going to be, so that everyone can make an
informed decision. Doing it now could be premature.
Cheers
--
Matteo Beccati
Development & Consulting - http://www.beccati.com/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php