363d1bb20f
This change is mostly for FB internal organizational reasons. Building is not effected beyond the fact that the target now lands in hphp/hhvm/hhvm rather than src/hhvm/hhvm.
19 linhas
273 B
PHP
19 linhas
273 B
PHP
<?php
|
|
|
|
function foo() { var_dump(__METHOD__); }
|
|
function bar() {
|
|
var_dump(__METHOD__);
|
|
throw new Exception;
|
|
}
|
|
|
|
function boo() {
|
|
fb_intercept('foo', 'bar', 'bar');
|
|
try {
|
|
foo();
|
|
} catch (Exception $e) {
|
|
var_dump("caught:" . $e->getMessage());
|
|
}
|
|
}
|
|
|
|
boo();
|