PHP » GoLang |
login |
register |
about
|
GoLang FilesystemIterator::key
request it (410)
GoLang replacement for PHP's FilesystemIterator::key
[edit | history]
FilesystemIterator::key(PHP 5 >= 5.3.0, PHP 7) FilesystemIterator::key — Retrieve the key for the current file Description
public string FilesystemIterator::key
( void
)
ParametersThis function has no parameters. Return ValuesReturns the pathname or filename depending on the set flags. See the FilesystemIterator constants. Examples
Example #1 FilesystemIterator::key() example This example will list the contents of the directory containing the script.
<?php The above example will output something similar to: apple.jpg banana.jpg example.php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|