Hi,

On 14/03/2015 00:40, Thomas Bley wrote:
I think it's time to close the scalar type hinting chapter and focus
on new challanges. We have a rfc with a majority, so I would like to
ask Zeev, Francois and Dmitry to withdraw their rfc and open the door
for finalizing php7, many people are waiting for. For 7.1 we all know
how scalar type hints work in practice and know if we should remove
declare(strict...), add coercion rules or stay with the v0.5
behaviour.

I, as some (many?) others, have voted YES on v0.5 (and v0.3 before it) not because I like dual mode, which I don't, but because it seemed to be the only way to get STH in PHP7.

As an open source project maintainer it will be years anyway until I can drop pre-PHP7 compatibility and use STH. But as a consultant I'd certainly hate to constantly switch between weak/strict depending on the code base (or 3rd party lib) I'm currently working on. And I certainly wouldn't like a future where all PHP code uses strict STH as some seem to envision.

I certainly wish that "Basic STH" was proposed weeks ago by Zeev instead of "Coercive STH". By all means I appreciate the attempt at pleasing multiple camps, and I initially favoured it, but I ended up realising its shortcomings.

So, if I was given the opportunity to vote on all three, it would be YES for Basic and NO for dual and coercive.

If we can get Basic to vote and in the end it looks like it won't pass I'll gladly switch my vote back to v0.5.


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

Reply via email to