503f75d08b
These names don't make sense now that we run both suites the same way.
17 linhas
224 B
PHP
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";
|