PHP » GoLang |
login |
register |
about
|
GoLang SplFileInfo::getPath
request it (270)
GoLang replacement for PHP's SplFileInfo::getPath
[edit | history]
SplFileInfo::getPath(PHP 5 >= 5.1.2, PHP 7) SplFileInfo::getPath — Gets the path without filename Description
public string SplFileInfo::getPath
( void
)
Returns the path to the file, omitting the filename and any trailing slash. ParametersThis function has no parameters. Return ValuesReturns the path to the file. Examples
Example #1 SplFileInfo::getPath() example
<?php The above example will output something similar to: string(8) "/usr/bin" string(4) "/usr" See Also
|
more
Recently updated
more
Most requested
more
Last requests
|