Home
last modified time | relevance | path

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

12

/PHP-7.4/ext/spl/tests/
H A Dfileobject_003.phpt2 SPL: SplFileInfo cloning
12 $o = new SplFileInfo($name);
53 object(SplFileInfo)#%d (2) {
54 ["pathName":"SplFileInfo":private]=>
56 ["fileName":"SplFileInfo":private]=>
59 object(SplFileInfo)#%d (2) {
60 ["pathName":"SplFileInfo":private]=>
79 object(SplFileInfo)#%d (2) {
85 object(SplFileInfo)#%d (2) {
97 object(SplFileInfo)#%d (2) {
[all …]
H A Dfileobject_getfileinfo_basic.phpt14 $d = new SplFileInfo( __DIR__ );
17 $d = new SplFileInfo( __DIR__."/" );
22 object(SplFileInfo)#%d (2) {
23 ["pathName":"SplFileInfo":private]=>
25 ["fileName":"SplFileInfo":private]=>
30 object(SplFileInfo)#%d (2) {
31 ["pathName":"SplFileInfo":private]=>
33 ["fileName":"SplFileInfo":private]=>
38 object(SplFileInfo)#%d (2) {
39 ["pathName":"SplFileInfo":private]=>
[all …]
H A DSplFileInfo_setInfoClass_basic.phpt2 SplFileInfo::setInfoClass() expects SplFileInfo or child class
6 class MyInfoObject extends SplFileInfo {}
8 $info = new SplFileInfo(__FILE__);
14 $info->setInfoClass('SplFileInfo');
22 SplFileInfo
23 SplFileInfo
H A DSplFileInfo_setInfoClass_error.phpt2 SplFileInfo::setInfoClass() throws exception for invalid class
6 $info = new SplFileInfo(__FILE__);
16 SplFileInfo::setInfoClass() expects parameter 1 to be a class name derived from SplFileInfo, 'stdCl…
H A Ddit_002.phpt51 SplFileInfo
54 SplFileInfo
60 SplFileInfo
63 SplFileInfo
69 SplFileInfo
72 SplFileInfo
H A DSplFileInfo_getExtension_basic.phpt2 SPL: SplFileInfo::getExtension() basic test
5 $file = md5('SplFileInfo::getExtension');
9 $info = new SplFileInfo($file . $ext);
15 $file = md5('SplFileInfo::getExtension');
H A Dbug77431.phpt2 Bug #77431 (SplFileInfo::__construct() accepts NUL bytes)
5 new SplFileInfo("bad\0good");
8 Fatal error: Uncaught TypeError: SplFileInfo::__construct() expects parameter 1 to be a valid path,…
H A DSplFileInfo_setFileClass_error.phpt2 SplFileInfo::setFileClass() throws exception for invalid class
6 $info = new SplFileInfo(__FILE__);
16 SplFileInfo::setFileClass() expects parameter 1 to be a class name derived from SplFileObject, 'std…
H A Dbug65213.phpt2 Bug #65213 (cannot cast SplFileInfo to boolean)
6 $o = new SplFileInfo('.');
H A DSplFileInfo_getPerms_error.phpt15 $fileInfo = new SplFileInfo('not_existing');
19 Fatal error: Uncaught RuntimeException: SplFileInfo::getPerms(): stat failed for %s in %s
21 #0 %s: SplFileInfo->getPerms()
H A DSplFileInfo_getGroup_error.phpt15 $fileInfo = new SplFileInfo('not_existing');
19 Fatal error: Uncaught RuntimeException: SplFileInfo::getGroup(): stat failed for not_existing in %s
21 #0 %s: SplFileInfo->getGroup()
H A DSplFileInfo_getInode_error.phpt15 $fileInfo = new SplFileInfo('not_existing');
19 Fatal error: Uncaught RuntimeException: SplFileInfo::getInode(): stat failed for not_existing in %s
21 #0 %s: SplFileInfo->getInode()
H A DSplFileInfo_getOwner_error.phpt15 $fileInfo = new SplFileInfo('not_existing');
19 Fatal error: Uncaught RuntimeException: SplFileInfo::getOwner(): stat failed for not_existing in %s
21 #0 %s: SplFileInfo->getOwner()
H A DDirectoryIterator_getInode_error.phpt19 $fileInfo = new SplFileInfo('not_existing');
23 Fatal error: Uncaught RuntimeException: SplFileInfo::getInode(): stat failed for %s in %s
25 #0 %s: SplFileInfo->getInode()
H A DSplFileInfo_setFileClass_basic.phpt2 SplFileInfo::setFileClass() expects SplFileObject or child class
8 $info = new SplFileInfo(__FILE__);
H A DSplTempFileObject_constructor_basic.phpt9 ["pathName":"SplFileInfo":private]=>
11 ["fileName":"SplFileInfo":private]=>
H A DSplTempFileObject_constructor_memory_lt1_variation.phpt9 ["pathName":"SplFileInfo":private]=>
11 ["fileName":"SplFileInfo":private]=>
H A Dbug64023.phpt2 Bug #64023: Overloading __toString() in SplFileInfo has no effect
5 class A extends \SplFileInfo
H A DSplTempFileObject_constructor_maxmemory_basic.phpt9 ["pathName":"SplFileInfo":private]=>
11 ["fileName":"SplFileInfo":private]=>
H A Dbug64782.phpt11 ["pathName":"SplFileInfo":private]=>
13 ["fileName":"SplFileInfo":private]=>
H A Ddit_001.phpt17 %s"pathName"%s"SplFileInfo":private]=>
19 %s"fileName"%s"SplFileInfo":private]=>
H A Ddit_001_noglob.phpt17 %s"pathName"%s"SplFileInfo":private]=>
19 %s"fileName"%s"SplFileInfo":private]=>
H A DSplFileInfo_getGroup_basic.phpt2 SPL: SplFileInfo test getGroup
15 $fileInfo = new SplFileInfo($filename);
H A DSplFileInfo_getOwner_basic.phpt2 SPL: SplFileInfo test getOwner
15 $fileInfo = new SplFileInfo($filename);
/PHP-7.4/ext/phar/tests/
H A Dphar_oo_006.phpt24 $phar->setFileClass('SplFileInfo');
44 SplFileInfo::setFileClass() expects parameter 1 to be a class name derived from SplFileObject, 'Spl…

Completed in 39 milliseconds

12