/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
reflection
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/reflection/tests/bug47254.phpt
--TEST-- Bug #47254 --CREDITS-- Sebastian Schürmann sebs@php.net Testfest 2009 Munich --FILE-- <?php class A { protected function a() {} } class B extends A { public function b() {} } $B = new B(); $R = new ReflectionObject($B); $m = $R->getMethods(); print_r($m); ?> --EXPECT-- Array ( [0] => ReflectionMethod Object ( [name] => b [class] => B ) [1] => ReflectionMethod Object ( [name] => a [class] => A ) )
Copyright ©2k19 -
Hexid
|
Tex7ure