Arquivos
hhvm/hphp/test/quick/debug_backtrace_trait.php
T
Sean Cannella 685af88ccf fix file/class in backtraces involving traits
- non-repo mode: use fullName() instead of flawed logic in type constraint failures
- repo mode: save the original filename when flattening traits
2013-05-23 21:03:04 -07:00

9 linhas
128 B
PHP

<?php
include 'debug_backtrace_trait_helper.inc';
class C extends P {
use T;
}
(new C)->bar(new stdClass);
(new C)->bar(12);