685af88ccf
- non-repo mode: use fullName() instead of flawed logic in type constraint failures - repo mode: save the original filename when flattening traits
18 linhas
200 B
PHP
18 linhas
200 B
PHP
<?php
|
|
|
|
class P {
|
|
public function foo() {
|
|
bar();
|
|
}
|
|
}
|
|
|
|
function print_backtrace() {
|
|
var_dump(debug_backtrace());
|
|
}
|
|
|
|
trait T {
|
|
public function bar(stdClass $s) {
|
|
print_backtrace();
|
|
}
|
|
}
|