Home
last modified time | relevance | path

Searched refs:getBasename (Results 1 – 12 of 12) sorted by relevance

/PHP-8.2/ext/spl/tests/
H A DSplFileinfo_getBasename_basic.phpt2 SPL: SplFileInfo::getBasename() basic test
6 echo (new \SplFileInfo('/path/to/a.txt'))->getBasename() . PHP_EOL;
7 echo (new \SplFileInfo('path/to/b'))->getBasename() . PHP_EOL;
8 echo (new \SplFileInfo('c.txt'))->getBasename() . PHP_EOL;
9 echo (new \SplFileInfo('d'))->getBasename() . PHP_EOL;
10 echo (new \SplFileInfo('~/path/to//e'))->getBasename() . PHP_EOL . PHP_EOL;
13 echo (new \SplFileInfo('path/to/a.txt'))->getBasename('.txt') . PHP_EOL;
14 echo (new \SplFileInfo('path/to/bbb.txt'))->getBasename('b.txt') . PHP_EOL;
16 echo (new \SplFileInfo('d.txt'))->getBasename('txt') . PHP_EOL;
17 echo (new \SplFileInfo('e.txt'))->getBasename('e.txt') . PHP_EOL;
[all …]
H A DDirectoryIterator_getBasename_basic_test.phpt2 DirectoryIterator::getBasename() - Basic Test
14 echo $dir->getBasename('.txt');
H A Dgh11338.phpt2 GH-11338 (SplFileInfo empty getBasename with more than on slash)
9 var_dump($file->getBasename());
H A Dgh12721.phpt13 echo $fileInfo->getBasename(), "\n";
22 echo $fileInfo->getBasename(), "\n";
H A DGlobIterator_internal_null_pointer.phpt10 echo "Test getBasename()\n";
11 var_dump($o->getBasename());
61 Test getBasename()
H A Dbug79987.phpt29 var_dump($x->getBasename());
H A Dbug55701.phpt101 echo "->getBasename()... ";
104 $o->getBasename();
307 ->getBasename()... ran normally (expected)
/PHP-8.2/ext/spl/tests/SplFileObject/
H A Dfileobject_getbasename_basic.phpt2 SPL: SplFileObject::getBasename
10 echo $s->getBasename();
/PHP-8.2/ext/spl/
H A Dspl_directory.stub.php20 public function getBasename(string $suffix = ""): string {} function in SplFileInfo
118 public function getBasename(string $suffix = ""): string {} function in DirectoryIterator
H A Dspl_directory_arginfo.h280 ZEND_METHOD(SplFileInfo, getBasename);
309 ZEND_METHOD(DirectoryIterator, getBasename);
373 ZEND_ME(SplFileInfo, getBasename, arginfo_class_SplFileInfo_getBasename, ZEND_ACC_PUBLIC)
408 …ZEND_ME(DirectoryIterator, getBasename, arginfo_class_DirectoryIterator_getBasename, ZEND_ACC_PUBL…
H A Dspl_directory.c1031 PHP_METHOD(SplFileInfo, getBasename) in PHP_METHOD() argument
1067 PHP_METHOD(DirectoryIterator, getBasename) in PHP_METHOD() argument
/PHP-8.2/
H A DNEWS1536 . Fixed bug GH-11338 (SplFileInfo empty getBasename with more than one

Completed in 28 milliseconds