Home
last modified time | relevance | path

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

/PHP-8.4/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.4/ext/spl/tests/SplFileObject/
H A Dfileobject_getbasename_basic.phpt2 SPL: SplFileObject::getBasename
10 echo $s->getBasename();
/PHP-8.4/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.h277 ZEND_METHOD(SplFileInfo, getBasename);
306 ZEND_METHOD(DirectoryIterator, getBasename);
367 ZEND_ME(SplFileInfo, getBasename, arginfo_class_SplFileInfo_getBasename, ZEND_ACC_PUBLIC)
401 …ZEND_ME(DirectoryIterator, getBasename, arginfo_class_DirectoryIterator_getBasename, ZEND_ACC_PUBL…
H A Dspl_directory.c987 PHP_METHOD(SplFileInfo, getBasename) in PHP_METHOD() argument
1023 PHP_METHOD(DirectoryIterator, getBasename) in PHP_METHOD() argument

Completed in 24 milliseconds