Basic flow analysis on if statements
[hiphop-php.git] / hphp / test / slow / finally / kill_from_throw.php
blob150739395e1dce22dee930575025c931172eb706
1 <?hh
3 function foo() {
4 try {
5 try {
6 return 0;
7 } finally {
8 throw new Exception('lol');
10 } catch (Exception $e) {
11 var_dump("catch");
13 var_dump("after");
16 <<__EntryPoint>>
17 function main_kill_from_throw() {
18 var_dump(foo());