xref: /php-src/Zend/tests/match/047.phpt (revision 226b92b1)
1--TEST--
2Match expression inside subject expression
3--FILE--
4<?php
5
6echo match (match ('b') { default => 'b' }) {
7    'a' => 100,
8    'b' => 200,
9    'c' => 300
10};
11
12?>
13--EXPECT--
14200
15