global statement removal: hphp/test [7/x]
[hiphop-php.git] / hphp / test / quick / exceptions.php.expectf
blob799a4d089c0912ac3231ddea44d74a09dfa72674
1 bar 0
2 caught 1
3 bar 1
4 bar 2
5 caught 2
6 before
7 caught
8 caught exception
9 string(%d) "#0 %s/test/quick/exceptions.php(91): c()
10 #1 %s/test/quick/exceptions.php(88): b()
11 #2 %s/test/quick/exceptions.php(99): a()
12 #3 %s/test/quick/exceptions.php(111): main3()
13 #4 {main}"
14 string(16) "hello, exception"
15 string(%d) "#0 %s/test/quick/exceptions.php(91): c()
16 #1 %s/test/quick/exceptions.php(88): b()
17 #2 %s/test/quick/exceptions.php(99): a()
18 #3 %s/test/quick/exceptions.php(111): main3()
19 #4 {main}"
20 Exception from %s/test/quick/exceptions.php:96
21 string(%d) "#0 %s/test/quick/exceptions.php(91): c()
22 #1 %s/test/quick/exceptions.php(88): b()
23 #2 %s/test/quick/exceptions.php(99): a()
24 #3 %s/test/quick/exceptions.php(111): main3()
25 #4 {main}"
26 bar 3
27 caught 3
29 Fatal error: Uncaught exception 'Ex3' with message '' in %s/test/quick/exceptions.php:21
30 Stack trace:
31 #0 (): bar()
32 #1 %s/test/quick/exceptions.php(28): call_user_func()
33 #2 %s/test/quick/exceptions.php(35): foo2()
34 #3 %s/test/quick/exceptions.php(39): foo1()
35 #4 (): foo()
36 #5 %s/test/quick/exceptions.php(105): array_map()
37 #6 %s/test/quick/exceptions.php(111): main3()
38 #7 {main}