/
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/bug26695.phpt
--TEST-- Reflection Bug #26695 (Reflection API does not recognize mixed-case class hints) --FILE-- <?php class Foo { } class Bar { function demo(foo $f) { } } $class = new ReflectionClass('bar'); $methods = $class->getMethods(); $params = $methods[0]->getParameters(); $class = $params[0]->getClass(); var_dump($class->getName()); ?> --EXPECTF-- Deprecated: Method ReflectionParameter::getClass() is deprecated in %s on line %d string(3) "Foo"
Copyright ©2k19 -
Hexid
|
Tex7ure