Home
last modified time | relevance | path

Searched refs:fileInfo (Results 1 – 14 of 14) sorted by relevance

/php-src/ext/spl/tests/
H A Dgh12721.phpt10 foreach (new GlobIterator('*.gh12721') as $fileInfo) {
11 echo $fileInfo->getFilename(), "\n";
12 echo $fileInfo->getExtension(), "\n";
13 echo $fileInfo->getBasename(), "\n";
14 var_dump($fileInfo->getFileInfo());
19 foreach (new GlobIterator('./*.gh12721') as $fileInfo) {
20 echo $fileInfo->getFilename(), "\n";
21 echo $fileInfo->getExtension(), "\n";
22 echo $fileInfo->getBasename(), "\n";
23 var_dump($fileInfo->getFileInfo());
H A Dspl_fileinfo_getlinktarget_basic.phpt13 $fileInfo = new SplFileInfo($link);
15 if ($fileInfo->isLink()) {
16 echo $fileInfo->getLinkTarget() == __FILE__ ? 'same' : 'different',PHP_EOL;
H A Dspl_fileinfo_getextension_leadingdot.phpt7 $fileInfo = new SplFileInfo($file);
9 var_dump($fileInfo->getExtension());
H A DSplFileInfo_getGroup_basic.phpt15 $fileInfo = new SplFileInfo($filename);
17 $actual = $fileInfo->getGroup();
H A DSplFileInfo_getOwner_basic.phpt15 $fileInfo = new SplFileInfo($filename);
17 $actual = $fileInfo->getOwner();
H A DSplFileInfo_getPerms_error.phpt15 $fileInfo = new SplFileInfo('not_existing');
16 var_dump($fileInfo->getPerms() == 0100557);
H A DSplFileInfo_getGroup_error.phpt15 $fileInfo = new SplFileInfo('not_existing');
16 var_dump($fileInfo->getGroup());
H A DSplFileInfo_getInode_error.phpt15 $fileInfo = new SplFileInfo('not_existing');
16 var_dump($fileInfo->getInode());
H A DSplFileInfo_getOwner_error.phpt15 $fileInfo = new SplFileInfo('not_existing');
16 var_dump($fileInfo->getOwner());
H A DSplFileInfo_getPerms_basic.phpt21 $fileInfo = new SplFileInfo('SplFileInfo_getPerms_basic.txt');
22 var_dump($fileInfo->getPerms() == 0100557);
H A DDirectoryIterator_getInode_error.phpt19 $fileInfo = new SplFileInfo('not_existing');
20 var_dump($fileInfo->getInode());
H A DSplFileInfo_getInode_basic.phpt20 $fileInfo = new SplFileInfo('SplFileInfo_getInode_basic.txt');
22 var_dump($fileInfo->getInode() == (int) $result);
/php-src/ext/spl/tests/SplFileObject/
H A Dbug51374.phpt9 $fileInfo = new SplFileInfo('php://temp');
10 $fileInfo->setFileClass('Foo');
11 $file = $fileInfo->openFile('r');
/php-src/build/
H A Dgen_stub.php59 if ($fileInfo) {
60 $fileInfos[] = $fileInfo;
113 return $fileInfo;
118 $fileInfo,
152 return $fileInfo;
4996 $fileInfo = new FileInfo;
5024 if ($fileInfo->generateClassEntries && !$fileInfo->generateFunctionEntries) {
5029 return $fileInfo;
5215 FileInfo $fileInfo, argument
6219 if ($fileInfo) {
[all …]

Completed in 27 milliseconds