|
SplFileInfo::getFilenameGets the filename Description
public string SplFileInfo::getFilename()
Gets the filename without any path information. ParametersThis function has no parameters. Return ValuesThe filename. Examples
Example #1 SplFileInfo::getFilename example
The above example will output something similar to: string(7) "foo.txt" string(7) "foo.txt" string(0) "" string(7) "svn.php" See Also
|