Refactor the parsing and processing of configuration options ... just a bit ...
[hiphop-php.git] / hphp / test / slow / traits / 1948.php
blobb0162a9f0970fdae10dc241ed76b860ab2c58efe
1 <?php
3 trait SayWorld {
4 public function sayHello() {
5 echo 'Hello from trait!';
8 class MyHelloWorld {
9 public function sayHello() {
10 echo 'Hello from class!';
12 use SayWorld;
14 $o = new MyHelloWorld();
15 $o->sayHello();