1--TEST--
2Live range & throw from finally
3--FILE--
4<?php
5function test() {
6    try {
7        $a = [1, 2, 3];
8        return $a + [];
9    } finally {
10        throw new Exception;
11    }
12}
13
14try {
15    test();
16} catch (Exception $e) {
17    echo "exception\n";
18}
19?>
20--EXPECT--
21exception
22