PHP » GoLang |
login |
register |
about
|
GoLang SplFileInfo::isFile
request it (341)
GoLang replacement for PHP's SplFileInfo::isFile
[edit | history]
SplFileInfo::isFile(PHP 5 >= 5.1.2, PHP 7) SplFileInfo::isFile — Tells if the object references a regular file Description
public bool SplFileInfo::isFile
( void
)
Checks if the file referenced by this SplFileInfo object exists and is a regular file. ParametersThis function has no parameters. Return Values
Returns Examples
Example #1 SplFileInfo::isFile() example
<?php The above example will output something similar to: bool(true) bool(false) |
more
Recently updated
more
Most requested
more
Last requests
|