/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
spl
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/spl/tests/fileobject_004.phpt
--TEST-- SPL: SplFileObject realpath and include_path --FILE-- <?php set_include_path('tests'); chdir(dirname(__DIR__)); // ext/spl $fo = new SplFileObject('fileobject_004.phpt', 'r', true); var_dump($fo->getPath()); var_dump($fo->getFilename()); var_dump($fo->getRealPath()); ?> --EXPECTF-- string(%d) "%sspl%stests" string(19) "fileobject_004.phpt" string(%d) "%sspl%stests%sfileobject_004.phpt"
Copyright ©2k19 -
Hexid
|
Tex7ure