parser/tests/fixtures/0197/code.php

11 lines
131 B
PHP
Raw Normal View History

<?php
$a = 4;
$b = match ($a) {
1,2,3,4 => null,
// seems weird, but PHP considers this valid.
default, => null,
};