1--TEST--
2Unmixed group use declaration can contain trailing comma
3--FILE--
4<?php
5namespace Foo {
6  const FOO_CONST_1 = "Foo const 1\n";
7  const FOO_CONST_2 = "Foo const 2\n";
8}
9namespace Bar {
10  function foo_func_1() {
11    echo "Bar func 1\n";
12  }
13  function foo_func_2() {
14    echo "Bar func 2\n";
15  }
16}
17namespace Baz {
18  class BazFooClass {
19    function __construct() { echo "BazFoo class\n"; }
20  }
21  class BazBarClass {
22    function __construct() { echo "BazBar class\n"; }
23  }
24}
25namespace {
26  use const Foo\{
27    FOO_CONST_1,
28    FOO_CONST_2,
29  };
30  use function Bar\{
31    foo_func_1,
32    foo_func_2,
33  };
34  use Baz\{
35    BazFooClass,
36    BazBarClass,
37  };
38  echo FOO_CONST_1;
39  echo FOO_CONST_2;
40  foo_func_1();
41  foo_func_2();
42  new BazFooClass;
43  new BazBarClass;
44}
45?>
46--EXPECT--
47Foo const 1
48Foo const 2
49Bar func 1
50Bar func 2
51BazFoo class
52BazBar class
53