/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
Zend
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/Zend/tests/bug70681.phpt
--TEST-- Bug #70681: Segfault when binding $this of internal instance method to null --FILE-- <?php $c = (new ReflectionMethod('SplStack', 'count'))->getClosure(new SplStack); $c = $c->bindTo(null); $c = (new ReflectionFunction('strlen'))->getClosure(); $c = $c->bindTo(null); var_dump($c("foo")); ?> --EXPECTF-- Warning: Cannot unbind $this of method in %s on line %d int(3)
Copyright ©2k19 -
Hexid
|
Tex7ure