/
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/bug74949.phpt
--TEST-- Bug #74949 (null pointer dereference in _function_string) --FILE-- <?php $f = function () {}; $r = new ReflectionMethod($f, "__invoke"); unset($f); echo $r, "\n"; try { echo $r->getPrototype(); } catch (Exception $e) { echo $e->getMessage(), "\n"; } ?> --EXPECT-- Method [ <internal> public method __invoke ] { } Method Closure::__invoke does not have a prototype
Copyright ©2k19 -
Hexid
|
Tex7ure