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