/
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/bug30209.phpt
--TEST-- Reflection Bug #30209 (ReflectionClass::getMethod() lowercases attribute) --FILE-- <?php class Foo { private $name = 'testBAR'; public function testBAR() { try { $class = new ReflectionClass($this); var_dump($this->name); $method = $class->getMethod($this->name); var_dump($this->name); } catch (Exception $e) {} } } $foo = new Foo; $foo->testBAR(); ?> --EXPECT-- string(7) "testBAR" string(7) "testBAR"
Copyright ©2k19 -
Hexid
|
Tex7ure