1--TEST--
2"Reference Unpacking - New Reference" list()
3--FILE--
4<?php
5$arr = array(new stdclass);
6list(&$a, &$b) = $arr;
7var_dump($a, $b);
8var_dump($arr);
9?>
10--EXPECTF--
11object(stdClass)#%d (0) {
12}
13NULL
14array(2) {
15  [0]=>
16  &object(stdClass)#%d (0) {
17  }
18  [1]=>
19  &NULL
20}
21