PHP » GoLang |
login |
register |
about
|
GoLang RecursiveDirectoryIterator::getSubPath
request it (315)
GoLang replacement for PHP's RecursiveDirectoryIterator::getSubPath
[edit | history]
PHP RecursiveDirectoryIterator::getSubPathPHP original manual for RecursiveDirectoryIterator::getSubPath [ show | php.net ]RecursiveDirectoryIterator::getSubPath(PHP 5 >= 5.1.0, PHP 7) RecursiveDirectoryIterator::getSubPath — Get sub path Description
public string RecursiveDirectoryIterator::getSubPath
( void
)
Returns the sub path relative to the directory given in the constructor. ParametersThis function has no parameters. Return ValuesThe sub path. Examples
Example #1 getSubPath() 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
Recently updated
more
Most requested
more
Last requests
|