1--TEST-- 2parent:: works like in a method defined without traits. 3--FILE-- 4<?php 5error_reporting(E_ALL); 6 7class Base { 8 public function sayHello() { 9 echo 'Hello '; 10 } 11} 12 13trait SayWorld { 14 public function sayHello() { 15 parent::sayHello(); 16 echo 'World!'; 17 } 18} 19 20class MyHelloWorld extends Base { 21 use SayWorld; 22} 23 24$o = new MyHelloWorld(); 25$o->sayHello(); 26?> 27--EXPECT-- 28Hello World! 29