Searched refs:getBasename (Results 1 – 11 of 11) sorted by relevance
/php-src/ext/spl/tests/ |
H A D | SplFileinfo_getBasename_basic.phpt | 2 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 D | DirectoryIterator_getBasename_basic_test.phpt | 2 DirectoryIterator::getBasename() - Basic Test 14 echo $dir->getBasename('.txt');
|
H A D | gh11338.phpt | 2 GH-11338 (SplFileInfo empty getBasename with more than on slash) 9 var_dump($file->getBasename());
|
H A D | gh12721.phpt | 13 echo $fileInfo->getBasename(), "\n"; 22 echo $fileInfo->getBasename(), "\n";
|
H A D | GlobIterator_internal_null_pointer.phpt | 10 echo "Test getBasename()\n"; 11 var_dump($o->getBasename()); 61 Test getBasename()
|
H A D | bug79987.phpt | 29 var_dump($x->getBasename());
|
H A D | bug55701.phpt | 101 echo "->getBasename()... "; 104 $o->getBasename(); 307 ->getBasename()... ran normally (expected)
|
/php-src/ext/spl/tests/SplFileObject/ |
H A D | fileobject_getbasename_basic.phpt | 2 SPL: SplFileObject::getBasename 10 echo $s->getBasename();
|
/php-src/ext/spl/ |
H A D | spl_directory.stub.php | 20 public function getBasename(string $suffix = ""): string {} function in SplFileInfo 115 public function getBasename(string $suffix = ""): string {} function in DirectoryIterator
|
H A D | spl_directory_arginfo.h | 278 ZEND_METHOD(SplFileInfo, getBasename); 307 ZEND_METHOD(DirectoryIterator, getBasename); 368 ZEND_ME(SplFileInfo, getBasename, arginfo_class_SplFileInfo_getBasename, ZEND_ACC_PUBLIC) 402 …ZEND_ME(DirectoryIterator, getBasename, arginfo_class_DirectoryIterator_getBasename, ZEND_ACC_PUBL…
|
H A D | spl_directory.c | 987 PHP_METHOD(SplFileInfo, getBasename) in PHP_METHOD() argument 1023 PHP_METHOD(DirectoryIterator, getBasename) in PHP_METHOD() argument
|
Completed in 27 milliseconds