PHP » GoLang |
login |
register |
about
|
GoLang FilesystemIterator::setFlags
request it (354)
GoLang replacement for PHP's FilesystemIterator::setFlags
[edit | history]
PHP FilesystemIterator::setFlagsPHP original manual for FilesystemIterator::setFlags [ show | php.net ]FilesystemIterator::setFlags(PHP 5 >= 5.3.0, PHP 7) FilesystemIterator::setFlags — Sets handling flags Description
public void FilesystemIterator::setFlags
([ int
$flags
] )Sets handling flags. Return ValuesNo value is returned. Examples
Example #1 FilesystemIterator::key() example This example demonstrates the difference between the FilesystemIterator::KEY_AS_PATHNAME and FilesystemIterator::KEY_AS_FILENAME flags.
<?php The above example will output something similar to: Key as Pathname: /www/examples/apple.jpg /www/examples/banana.jpg /www/examples/example.php Key as Filename: apple.jpg banana.jpg example.php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|