repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Basic flow analysis on if statements
[hiphop-php.git]
/
hphp
/
test
/
slow
/
finally
/
kill_from_throw.php
blob
150739395e1dce22dee930575025c931172eb706
1
<
?hh
2
3
function
foo
() {
4
try
{
5
try
{
6
return
0
;
7
}
finally
{
8
throw new
Exception
(
'lol'
);
9
}
10
}
catch
(
Exception
$e
) {
11
var_dump
(
"catch"
);
12
}
13
var_dump
(
"after"
);
14
}
15
16
<<
__EntryPoint
>>
17
function
main_kill_from_throw
() {
18
var_dump
(
foo
());
19
}