1--TEST--
2Live range & lists
3--FILE--
4<?php
5class A {
6 function __destruct() {
7 throw new Exception();
8 }
9}
10$b = new A();
11$x = 0;
12$c = [[$x,$x]];
13try {
14 list($a, $b) = $c[0];
15} catch (Exception $e) {
16 echo "exception\n";
17}
18?>
19--EXPECT--
20exception
21