PHP » GoLang |
login |
register |
about
|
GoLang RecursiveDirectoryIterator::getSubPathname
request it (600)
GoLang replacement for PHP's RecursiveDirectoryIterator::getSubPathname
[edit | history]
PHP RecursiveDirectoryIterator::getSubPathnamePHP original manual for RecursiveDirectoryIterator::getSubPathname [ show | php.net ]RecursiveDirectoryIterator::getSubPathname(PHP 5 >= 5.1.0, PHP 7) RecursiveDirectoryIterator::getSubPathname — Get sub path and name Description
public string RecursiveDirectoryIterator::getSubPathname
( void
)
Gets the sub path and filename. ParametersThis function has no parameters. Return ValuesThe sub path (sub directory) and filename. Examples
Example #1 getSubPathname() example
$directory = '/tmp';The above example will output something similar to:
SubPathName: fruit/apple.xml
SubPath: fruit
SubPathName: stuff.xml
SubPath:
SubPathName: veggies/carrot.xml
SubPath: veggies
See Also
|
more
Most requested
more
Last requests
|