On Mon, Mar 28, 2022 at 7:56 PM Karoly Negyesi <kar...@negyesi.net> wrote:
> match ($object) {
>   Someinterface => 'foo',
>   AnotherInterface => 'bar',
> }
>
> this can not clash with any existing code as using identifiers like this
> are a syntax error currently.

That's valid code actually, see https://3v4l.org/BEcE4

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

Reply via email to