PHP funkce image_type_to_extension()
📅 11. 09. 2019
Obsah článku:
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.
Další zdroje
Jan Barášek Více o autorovi
Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.
Rád vám pomůžu:
Kontakt Spolupráce