PHP Manual

PHP funkce is_dir()

11. 09. 2019

Obsah článku

Dostupnost ve verzích: `PHP 4.0`

Tells whether the filename is a directory

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$filename string není Path to the file. If filename is a relative filename, it will be checked relative to the current working directory. If filename is a symbolic or hard link then the link will be resolved and checked.

Návratové hodnoty

bool

true if the filename exists and is a directory, false otherwise.

Další zdroje

Oficiální dokumentace funkce is-dir

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:

Související články

1.

Potřebujete poradit s PHP?

Nabízím trénink vývojářů, konzultace, školení a analýzu návrhových vzorů. Osobně v Praze nebo online.

Napište mi, pokud si nevíte rady.

Lektor: Jan Barášek

V jiných jazycích

1.
Status:
All systems normal.
2024