1--TEST-- 2Abstract Trait Methods should behave like common abstract methods. 3--FILE-- 4<?php 5error_reporting(E_ALL); 6 7trait THello { 8 public abstract function hello(); 9} 10 11trait THelloImpl { 12 public function hello() { 13 echo 'Hello'; 14 } 15} 16 17class TraitsTest { 18 use THello; 19 use THelloImpl; 20} 21 22$test = new TraitsTest(); 23$test->hello(); 24?> 25--EXPECT-- 26Hello 27