Enforce modularity boundaries for classes
[hiphop-php.git] / hphp / test / slow / dce-catch.php
blobac464cb75c71c74b18636d3445d7076e71e661a8
1 <?hh
3 class C {}
5 function f($x) {
6 try {
7 return $x->missing;
8 } catch (Exception $e) {
9 return null;
13 <<__EntryPoint>>
14 function main() {
15 $x = dict['a' => 'b', 'c' => f(new C())];
16 var_dump($x['a']);