PHP » GoLang |
login |
register |
about
|
GoLang SplFileInfo::getType
request it (355)
GoLang replacement for PHP's SplFileInfo::getType
[edit | history]
SplFileInfo::getType(PHP 5 >= 5.1.2, PHP 7) SplFileInfo::getType — Gets file type Description
public string SplFileInfo::getType
( void
)
Returns the type of the file referenced. ParametersThis function has no parameters. Return ValuesA string representing the type of the entry. May be one of file, link, or dir Errors/ExceptionsThrows a RuntimeException on error. Examples
Example #1 SplFileInfo::getType() example
<?php The above example will output something similar to: file dir |
more
Recently updated
more
Most requested
more
Last requests
|