Hi Stanislav

> I'm still not sure why if we're calling it "switch"

C# does it. Not to say everything they do is right but it's reassuring
that a big company like Microsoft had the same approach.

https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/switch
https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8#switch-expressions

In fact, the approach in the RFC is almost equivalent.

Ilija

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to