/
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/ns_074.phpt
--TEST-- Testing type-hinted lambda parameter inside namespace --FILE-- <?php namespace foo; $x = function (\stdclass $x = NULL) { var_dump($x); }; class stdclass extends \stdclass { } $x(NULL); $x(new stdclass); $x(new \stdclass); ?> --EXPECTF-- NULL object(foo\stdclass)#%d (0) { } object(stdClass)#%d (0) { }
Copyright ©2k19 -
Hexid
|
Tex7ure