1--TEST-- 2Semantic of alias operation is to provide an additional identifier for the 3method body of the original method. 4It should also work incase the method is fully qualified. 5--FILE-- 6<?php 7error_reporting(E_ALL); 8 9trait THello { 10 public function a() { 11 echo 'A'; 12 } 13} 14 15class TraitsTest { 16 use THello { THello::a as b; } 17} 18 19$test = new TraitsTest(); 20$test->a(); 21$test->b(); 22 23?> 24--EXPECT-- 25AA 26