On 10/09/2017 17:27, Niklas Keller wrote:
2017-09-10 18:05 GMT+02:00 Theodore Brown <theodor...@outlook.com>:
Would it be possible to add an optional `$strict` parameter to
switch? E.g.
```
switch ($i, true) {
I'd very much prefer a "strict switch ($i) { ... }" over a second parameter.
What do either of you think of my "switch-use" proposal, which would
spell this as "switch ($i) use (===)"?
Regards,
--
Rowan Collins
[IMSoP]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php