|
DirectoryIterator::getExtensionGets the file extension Description
public string DirectoryIterator::getExtension
( void
)
Retrieves the file extension. ParametersThis function has no parameters. Return ValuesReturns a string containing the file extension, or an empty string if the file has no extension. ExamplesExample #1 DirectoryIterator::getExtension example
<?php The above example will output something similar to: php txt jpg gz Notes
See Also
|