PHP 7.0.6 Released

RecursiveDirectoryIterator::getSubPathname

(PHP 5 >= 5.1.0, PHP 7)

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

User Contributed Notes

info at diy-cms dot com
5 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