SunshinePHP Developer Conference 2015

RecursiveDirectoryIterator::getSubPathname

(PHP 5 >= 5.1.0)

RecursiveDirectoryIterator::getSubPathnameGet sub path and name

Description

public string RecursiveDirectoryIterator::getSubPathname ( void )

Gets the sub path and filename.

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

The sub path (sub directory) and filename.

See Also

add a note add a note

User Contributed Notes 1 note

up
-1
info at diy-cms dot com
3 years ago
In case you run into a cross-platform issue when retrieving the sub-path , use FilesystemIterator::UNIX_PATHS flag to fix it
To Top