##PHP 5.4新特性## 掌握 traits trait的引入,可以扩展class的内容,使class在某种形式上实现了多重继承,更加灵活,trait不能被实例化 示例代码: <?php trait Hello {