Home
last modified time | relevance | path

Searched refs:FilesystemIterator (Results 1 – 25 of 26) sorted by relevance

12

/PHP-8.1/ext/spl/tests/
H A Dbug80724.phpt2 Bug #80724 (FOLLOW_SYMLINKS interfering with FilesystemIterator key flags)
5 $iterator = new FilesystemIterator(__DIR__, FilesystemIterator::KEY_AS_FILENAME);
16 $iterator->setFlags(FilesystemIterator::KEY_AS_FILENAME);
19 $iterator2 = new FilesystemIterator(__DIR__, FilesystemIterator::FOLLOW_SYMLINKS | FilesystemIterat…
30 $iterator2->setFlags(FilesystemIterator::KEY_AS_FILENAME);
H A DRecursiveDirectoryIterator_hasChildren.phpt14 …ecursiveDirectoryIterator($dir, FilesystemIterator::SKIP_DOTS | FilesystemIterator::FOLLOW_SYMLINK…
19 $it->setFlags(FilesystemIterator::SKIP_DOTS | FilesystemIterator::KEY_AS_FILENAME);
H A Ddit_002.phpt10 'FilesystemIterator' => 1,
24 FilesystemIterator::CURRENT_AS_FILEINFO => 0,
25 FilesystemIterator::CURRENT_AS_SELF => 0,
26 FilesystemIterator::CURRENT_AS_PATHNAME => 1,
49 ===FilesystemIterator===
55 FilesystemIterator
H A Dbug64228.phpt9 …tor($empty_dir, FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO); //…
H A Ddit_003.phpt2 SPL: FilesystemIterator and foreach
6 foreach(new FilesystemIterator(__DIR__) as $ent)
H A Dfilesystemiterator_leak.phpt2 Don't leak when breaking from FilesystemIterator
5 $iterator = new FilesystemIterator(__DIR__);
H A Dbug67359.phpt7 …$rdi = new recursiveDirectoryIterator(__DIR__, FilesystemIterator::SKIP_DOTS | FilesystemIterator
H A Dbug61418.phpt5 $fileIterator = new FilesystemIterator(__DIR__, FilesystemIterator::KEY_AS_FILENAME);
H A Dbug66405.phpt16 public function current(): string|SplFileInfo|FilesystemIterator
35 $rdi = new Bug66405($td, FilesystemIterator::CURRENT_AS_PATHNAME | FilesystemIterator::SKIP_DOTS);
H A Dbug62433.phpt6 $ndots = array_keys(iterator_to_array(new RecursiveDirectoryIterator(__DIR__, FilesystemIterator::S…
H A Ddit_005.phpt2 SPL: FilesystemIterator and clone
H A Dfilesystemiterator_flags.phpt2 SPL: FilesystemIterator::getFlags() basic tests
H A Dbug77263.phpt19 $iterator = new RecursiveDirectoryIterator($dir, FilesystemIterator::SKIP_DOTS );
H A Dbug55701.phpt62 $o->setFlags(FilesystemIterator::KEY_AS_PATHNAME);
/PHP-8.1/ext/spl/
H A Dspl_directory.stub.php148 class FilesystemIterator extends DirectoryIterator class
150 …g $directory, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FI…
159 public function current(): string|SplFileInfo|FilesystemIterator {}
168 class RecursiveDirectoryIterator extends FilesystemIterator implements RecursiveIterator
170 …ion __construct(string $directory, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIt…
186 class GlobIterator extends FilesystemIterator implements Countable
188 …ction __construct(string $pattern, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIt…
H A Dspl_directory_arginfo.h316 ZEND_METHOD(FilesystemIterator, __construct);
317 ZEND_METHOD(FilesystemIterator, rewind);
318 ZEND_METHOD(FilesystemIterator, key);
319 ZEND_METHOD(FilesystemIterator, current);
320 ZEND_METHOD(FilesystemIterator, getFlags);
321 ZEND_METHOD(FilesystemIterator, setFlags);
422 ZEND_ME(FilesystemIterator, rewind, arginfo_class_FilesystemIterator_rewind, ZEND_ACC_PUBLIC)
423 ZEND_ME(FilesystemIterator, key, arginfo_class_FilesystemIterator_key, ZEND_ACC_PUBLIC)
424 ZEND_ME(FilesystemIterator, current, arginfo_class_FilesystemIterator_current, ZEND_ACC_PUBLIC)
425 ZEND_ME(FilesystemIterator, getFlags, arginfo_class_FilesystemIterator_getFlags, ZEND_ACC_PUBLIC)
[all …]
H A Dspl_directory.c1082 PHP_METHOD(FilesystemIterator, key) in PHP_METHOD() argument
1102 PHP_METHOD(FilesystemIterator, current) in PHP_METHOD() argument
1413 PHP_METHOD(FilesystemIterator, __construct) in PHP_METHOD() argument
1420 PHP_METHOD(FilesystemIterator, rewind) in PHP_METHOD() argument
1440 PHP_METHOD(FilesystemIterator, getFlags) in PHP_METHOD() argument
1452 PHP_METHOD(FilesystemIterator, setFlags) in PHP_METHOD() argument
2761 …REGISTER_SPL_CLASS_CONST_LONG(FilesystemIterator, "CURRENT_AS_SELF", SPL_FILE_DIR_CURRENT_AS_S… in PHP_MINIT_FUNCTION()
2762 …REGISTER_SPL_CLASS_CONST_LONG(FilesystemIterator, "KEY_MODE_MASK", SPL_FILE_DIR_KEY_MODE_MAS… in PHP_MINIT_FUNCTION()
2767 REGISTER_SPL_CLASS_CONST_LONG(FilesystemIterator, "OTHER_MODE_MASK", SPL_FILE_DIR_OTHERS_MASK); in PHP_MINIT_FUNCTION()
2768 REGISTER_SPL_CLASS_CONST_LONG(FilesystemIterator, "SKIP_DOTS", SPL_FILE_DIR_SKIPDOTS); in PHP_MINIT_FUNCTION()
[all …]
H A Dphp_spl.c174 SPL_ADD_CLASS(FilesystemIterator, z_list, sub, allow, ce_flags); \
/PHP-8.1/ext/intl/tests/
H A Dresourcebundle.build10 $dir = new GlobIterator("$here/_files/*.txt", FilesystemIterator::KEY_AS_FILENAME);
16 $dir = new GlobIterator("$here/_files/resourcebundle/*.res", FilesystemIterator::KEY_AS_FILENAME);
/PHP-8.1/ext/reflection/tests/
H A DReflectionMethod_tentative_return_type.phpt62 string(37) "SplFileInfo|FilesystemIterator|string"
67 - Tentative return [ SplFileInfo|FilesystemIterator|string ]
/PHP-8.1/ext/phar/
H A Dphar_object.stub.php11 …function __construct(string $filename, int $flags = FilesystemIterator::SKIP_DOTS|FilesystemIterat…
187 …function __construct(string $filename, int $flags = FilesystemIterator::SKIP_DOTS|FilesystemIterat…
/PHP-8.1/ext/phar/tests/
H A Dbug54289.phpt60 $outDir, \FilesystemIterator::SKIP_DOTS|\FilesystemIterator::UNIX_PATHS),
H A Dbug79082.phpt19 …mIterator(new \RecursiveDirectoryIterator(__DIR__ . '/test79082', \FilesystemIterator::SKIP_DOTS),…
H A Dbug81211.phpt29 …Iterator(new RecursiveDirectoryIterator(__DIR__ . '/bug81211/foo', FilesystemIterator::SKIP_DOTS),…
/PHP-8.1/ext/standard/tests/file/windows_mb_path/
H A Drecursive_it.phpt31 FilesystemIterator::SKIP_DOTS

Completed in 34 milliseconds

12