php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /opt/php-7.0.1/ext/reflection/tests/
upload
files >> //opt/php-7.0.1/ext/reflection/tests/bug64239.phpt

--TEST--
Bug #64239 (ReflectionClass::getMethods() changed behavior)
--FILE--
<?php
class A {
	use T2 { t2method as Bmethod; }
}
trait T2 {
	public function t2method() {
	}
}

class B extends A{
}

$obj = new ReflectionClass("B");
print_r($obj->getMethods());
print_r(($method = $obj->getMethod("Bmethod")));
var_dump($method->getName());
var_dump($method->getShortName());
?>
--EXPECT--
Array
(
    [0] => ReflectionMethod Object
        (
            [name] => Bmethod
            [class] => A
        )

    [1] => ReflectionMethod Object
        (
            [name] => t2method
            [class] => A
        )

)
ReflectionMethod Object
(
    [name] => Bmethod
    [class] => A
)
string(7) "Bmethod"
string(7) "Bmethod"
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`