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