503f75d08b
These names don't make sense now that we run both suites the same way.
17 linhas
210 B
PHP
17 linhas
210 B
PHP
<?php
|
|
class Foo {
|
|
final public function f() {
|
|
return 'Foo';
|
|
}
|
|
}
|
|
trait T {
|
|
final public function f() {
|
|
return 'Bar';
|
|
}
|
|
}
|
|
class Bar extends Foo {
|
|
use T;
|
|
}
|
|
$bar = new Bar();
|
|
echo $bar->f()."\n";
|