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.
21 linhas
247 B
PHP
21 linhas
247 B
PHP
<?php
|
|
|
|
function id($x) { return $x; }
|
|
|
|
class Foo {
|
|
public function hi() {
|
|
$bad = new Tracer();
|
|
}
|
|
}
|
|
|
|
class Tracer {
|
|
public function __destruct() {
|
|
var_dump(debug_backtrace());
|
|
}
|
|
}
|
|
|
|
function main() {
|
|
id(new Foo())->hi();
|
|
}
|
|
main();
|