# Dual Mode STH

- Thread: https://externals.io/message/85059
- Original archive: https://news-web.php.net/php.internals/85059
- Started by Zeev Suraski on 2015-03-16T14:21:00+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #85059 — Zeev Suraski — 2015-03-16T14:21:00+00:00

URL: https://externals.io/message/85059#85059

All,



After much thinking, and despite grave concerns I raised about what
transpired in the last 24 hours, I decided to get behind the Dual Mode RFC
at this time.



I call upon everyone - both people that haven’t yet voted and those who
voted no - to do the same so that we ensure that we have STH in PHP 7.0:

wiki.php.net/rfc/scalar_type_hints_v5#vote



As I’ve said all along, I’m not doing it because I think it’s good, I
actually think it’s pretty bad – both in absolute terms and in the
precedent for introducing ‘both’ options instead of a single opinionated
one.  That move is designed to help ensure that we have SOME form of Scalar
Type Hints in PHP 7.0, which is clearly what the userbase at large wants.
We can revisit casting rules in the future without time pressure, and in
general, see how this new feature is accepted and used.



Again,  I call upon everybody to vote Yes for the Dual Mode RFC to ensure
that we have some form of STH in PHP 7.0.



Zeev

---

## #85062 — Xinchen Hui — 2015-03-16T14:35:59+00:00

URL: https://externals.io/message/85059#85062 · In reply to: #85059

Hey:


> All,
>
>
>
> After much thinking, and despite grave concerns I raised about what
> transpired in the last 24 hours, I decided to get behind the Dual Mode RFC
> at this time.
>
>
>
> I call upon everyone - both people that haven’t yet voted and those who
> voted no - to do the same so that we ensure that we have STH in PHP 7.0:
>
> wiki.php.net/rfc/scalar_type_hints_v5#vote
>
>
>
> As I’ve said all along, I’m not doing it because I think it’s good, I
> actually think it’s pretty bad – both in absolute terms and in the
> precedent for introducing ‘both’ options instead of a single opinionated
> one.  That move is designed to help ensure that we have SOME form of Scalar
> Type Hints in PHP 7.0, which is clearly what the userbase at large wants.
> We can revisit casting rules in the future without time pressure, and in
> general, see how this new feature is accepted and used.
>
>
>
> Again,  I call upon everybody to vote Yes for the Dual Mode RFC to ensure
> that we have some form of STH in PHP 7.0.
Unecessary for everybody, one or two change from no to yes will make it pass. :)

thanks
>
>
>
> Zeev



-- 
Xinchen Hui
@Laruence
http://www.laruence.com/

---

## #85067 — Dan Ackroyd — 2015-03-16T14:54:43+00:00

URL: https://externals.io/message/85059#85067 · In reply to: #85062

Thank you Zeev.



> Unecessary for everybody, one or two change from no to yes will make it pass. :)

Although not necessary, it would reduce the level of drama, which
would be a good thing.

cheers
Dan
