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