PHP » GoLang |
login |
register |
about
|
GoLang SplFileInfo::__toString
request it (334)
GoLang replacement for PHP's SplFileInfo::__toString
[edit | history]
SplFileInfo::__toString(PHP 5 >= 5.1.2, PHP 7) SplFileInfo::__toString — Returns the path to the file as a string Description
public void SplFileInfo::__toString
( void
)
This method will return the file name of the referenced file. ParametersThis function has no parameters. Return ValuesReturns the path to the file. Examples
Example #1 SplFileInfo::__toString() example
<?php The above example will output something similar to: string(3) "foo" foo string(12) "/usr/bin/php" /usr/bin/php |
more
Recently updated
more
Most requested
more
Last requests
|