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
Handle this typehints
[hiphop-php.git]
/
hphp
/
test
/
quick
/
debug_backtrace_trait_helper.inc
blob
281fd8db68c9ed571ea5ebf88d3a2843f3423a6b
1
<?php
2
3
class P {
4
public function foo() {
5
bar();
6
}
7
}
8
9
function print_backtrace() {
10
var_dump(debug_backtrace());
11
}
12
13
trait T {
14
public function bar(stdClass $s) {
15
print_backtrace();
16
}
17
}