PHP » GoLang |
login |
register |
about
|
GoLang SplFileInfo::getFilename
request it (362)
GoLang replacement for PHP's SplFileInfo::getFilename
[edit | history]
SplFileInfo::getFilename(PHP 5 >= 5.1.2, PHP 7) SplFileInfo::getFilename — Gets the filename Description
public string SplFileInfo::getFilename
( void
)
Gets the filename without any path information. ParametersThis function has no parameters. Return ValuesThe filename. Examples
Example #1 SplFileInfo::getFilename() example
<?php The above example will output something similar to: string(7) "foo.txt" string(7) "foo.txt" string(0) "" string(7) "svn.php" |
more
Recently updated
more
Most requested
more
Last requests
|