Home
last modified time | relevance | path

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

/php-src/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 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 DRecursiveDirectoryIterator_hasChildren.phpt14 …ecursiveDirectoryIterator($dir, FilesystemIterator::SKIP_DOTS | FilesystemIterator::FOLLOW_SYMLINK…
19 $it->setFlags(FilesystemIterator::SKIP_DOTS | FilesystemIterator::KEY_AS_FILENAME);
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-src/ext/spl/
H A Dspl_directory.stub.php148 class FilesystemIterator extends DirectoryIterator class
175 …g $directory, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FI…
184 public function current(): string|SplFileInfo|FilesystemIterator {}
193 class RecursiveDirectoryIterator extends FilesystemIterator implements RecursiveIterator
195 …ion __construct(string $directory, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIt…
211 class GlobIterator extends FilesystemIterator implements Countable
213 …ction __construct(string $pattern, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIt…
H A Dspl_directory_arginfo.h315 ZEND_METHOD(FilesystemIterator, __construct);
316 ZEND_METHOD(FilesystemIterator, rewind);
317 ZEND_METHOD(FilesystemIterator, key);
318 ZEND_METHOD(FilesystemIterator, current);
319 ZEND_METHOD(FilesystemIterator, getFlags);
320 ZEND_METHOD(FilesystemIterator, setFlags);
416 ZEND_ME(FilesystemIterator, rewind, arginfo_class_FilesystemIterator_rewind, ZEND_ACC_PUBLIC)
417 ZEND_ME(FilesystemIterator, key, arginfo_class_FilesystemIterator_key, ZEND_ACC_PUBLIC)
418 ZEND_ME(FilesystemIterator, current, arginfo_class_FilesystemIterator_current, ZEND_ACC_PUBLIC)
419 ZEND_ME(FilesystemIterator, getFlags, arginfo_class_FilesystemIterator_getFlags, ZEND_ACC_PUBLIC)
[all …]
H A Dspl_directory.c1060 PHP_METHOD(FilesystemIterator, key) in PHP_METHOD() argument
1080 PHP_METHOD(FilesystemIterator, current) in PHP_METHOD() argument
1399 PHP_METHOD(FilesystemIterator, __construct) in PHP_METHOD() argument
1406 PHP_METHOD(FilesystemIterator, rewind) in PHP_METHOD() argument
1426 PHP_METHOD(FilesystemIterator, getFlags) in PHP_METHOD() argument
1438 PHP_METHOD(FilesystemIterator, setFlags) in PHP_METHOD() argument
H A Dphp_spl.c170 SPL_ADD_CLASS(FilesystemIterator, z_list, sub, allow, ce_flags); \
/php-src/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-src/ext/reflection/tests/
H A DReflectionMethod_tentative_return_type.phpt62 string(37) "SplFileInfo|FilesystemIterator|string"
67 - Tentative return [ SplFileInfo|FilesystemIterator|string ]
/php-src/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.phpt30 …Iterator(new RecursiveDirectoryIterator(__DIR__ . '/bug81211/foo', FilesystemIterator::SKIP_DOTS),…
/php-src/ext/phar/
H A Dphar_object.stub.php76 …function __construct(string $filename, int $flags = FilesystemIterator::SKIP_DOTS|FilesystemIterat…
249 …function __construct(string $filename, int $flags = FilesystemIterator::SKIP_DOTS|FilesystemIterat…
/php-src/ext/standard/tests/file/windows_mb_path/
H A Drecursive_it.phpt31 FilesystemIterator::SKIP_DOTS

Completed in 29 milliseconds