--TEST--
Try { yield } finally { yield }
--FILE--
<?php

function foo() {
    try {
        echo "1";
        yield "2";
        echo "3";
    } finally {
        echo "4";
        yield "5";
        echo "6";
    }
    echo "7";
}
foreach (foo() as $x) {
    echo $x;
}
--EXPECT--
1234567
