1--TEST--
2Closure use list can have trailing commas
3--FILE--
4<?php
5
6$b = 'test';
7$fn = function () use (
8    $b,
9    &$a,
10) {
11    $a = $b;
12};
13$fn();
14echo "$a\n";
15?>
16--EXPECT--
17test
18