1--TEST--
2Test match default breakpoint with variable assignment
3--INI--
4opcache.enable_cli=0
5--PHPDBG--
6b 5
7b 10
8r
9q
10--EXPECTF--
11[Successful compilation of %s.php]
12prompt> [Breakpoint #0 added at %s.php:5]
13prompt> [Breakpoint #1 added at %s.php:10]
14prompt> [Breakpoint #1 at %s.php:10, hits: 1]
15>00010:     default => 'bar', // breakpoint #1
16 00011: };
17 00012:
18prompt>
19--FILE--
20<?php
21
22$foo = match (0) {
23    0 => 'foo',
24    default => 'bar', // breakpoint #0
25};
26
27$foo = match (1) {
28    0 => 'foo',
29    default => 'bar', // breakpoint #1
30};
31