1--TEST--
2Mixed group use declaration can contain trailing comma
3--FILE--
4<?php
5namespace Foo {
6  const FOO_CONST = "Foo const\n";
7  function foo_func() {
8    echo "Foo func\n";
9  }
10  class FooClass {
11    function __construct() {
12      echo "Foo class\n";
13    }
14  }
15}
16namespace {
17  use Foo\{
18    const FOO_CONST,
19    function foo_func,
20    FooClass as BarClass,
21  };
22  echo FOO_CONST;
23  foo_func();
24  new BarClass;
25}
26?>
27--EXPECT--
28Foo const
29Foo func
30Foo class
31