PHP funkce image_type_to_extension()
Dostupnost ve verzích: PHP 5.0
Get file extension for image type
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$imagetype |
int |
není | One of the IMAGETYPE_XXX constant. |
$include_dot |
bool |
null | Whether to prepend a dot to the extension or not. Default to true. |
Návratové hodnoty
string
A string with the extension corresponding to the given image type.