Re: [RFC] Match expression
| From: | Rowan Collins | Date: | Sun, 10 Sep 2017 17:45:31 +0000 |
| Subject: | Re: [RFC] Match expression | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100506@lists.php.net to get a copy of this message | ||
On 10/09/2017 17:27, Niklas Keller wrote:
2017-09-10 18:05 GMT+02:00 Theodore Brown <theodorejb@outlook.com>:What do either of you think of my "switch-use" proposal, which would spell this as "switch ($i) use (===)"? Regards, -- Rowan Collins [IMSoP]Would it be possible to add an optionalI'd very much prefer a "strict switch ($i) { ... }" over a second parameter.$strictparameter to switch? E.g.switch ($i, true) {