Arquivos
hhvm/hphp/test/quick/final_method3.php
T
ptarjan 503f75d08b Rename test directories
These names don't make sense now that we run both suites the same
way.
2013-04-17 09:06:51 -07:00

17 linhas
224 B
PHP

<?php
trait T {
final public function foo() {
return 'T::foo';
}
}
class Foo {
use T;
}
class Bar extends Foo {
final public function foo() {
return 'Bar::foo';
}
}
$bar = new Bar();
echo $bar->foo()."\n";