1--TEST-- 2Bug #64239 (get_class_methods() changed behavior) 3--FILE-- 4<?php 5class A { 6 use T2 { t2method as Bmethod; } 7} 8 9class B extends A { 10} 11 12trait T2 { 13 public function t2method() { 14 } 15} 16print_r(get_class_methods("A")); 17print_r(get_class_methods("B")); 18--EXPECT-- 19Array 20( 21 [0] => Bmethod 22 [1] => t2method 23) 24Array 25( 26 [0] => Bmethod 27 [1] => t2method 28) 29