PHP » GoLang |
login |
register |
about
|
GoLang DirectoryIterator::key
request it (393)
GoLang replacement for PHP's DirectoryIterator::key
[edit | history]
DirectoryIterator::key(PHP 5, PHP 7) DirectoryIterator::key — Return the key for the current DirectoryIterator item Description
public string DirectoryIterator::key
( void
)
Get the key for the current DirectoryIterator item. ParametersThis function has no parameters. Return ValuesThe key for the current DirectoryIterator item. Examples
Example #1 A DirectoryIterator::key() example
<?php The above example will output something similar to: 0 => apple.jpg 1 => banana.jpg 2 => index.php 3 => pear.jpg See Also
|
more
Recently updated
more
Most requested
more
Last requests
|