Dostupnost ve verzích: PHP 4.0
Returns filename component of path
Parametr | Datový typ | Výchozí hodnota | Poznámka |
---|---|---|---|
$path |
string |
není | A path. |
$suffix |
string |
null | If the filename ends in suffix this will also be cut off. |
string
the base name of the given path.
Oficiální dokumentace funkce basename
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:
Články píše Jan Barášek © 2009-2025 | Kontakt | Mapa webu
Status | Aktualizováno: ... | cs