PHP funkce is_dir()

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.

bool

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

Další zdroje

Oficiální dokumentace funkce is-dir

AI konzultace & implementace

Pomohu vám zavést AI do vašeho projektu– od analýzy a návrhu řešení až po nasazení do produkce. Ušetřete čas, zjednodušte procesy a získejte konkurenční výhodu.

Domluvit konzultaci
Konzultant: Jan Barášek
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

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.

PHP funkce is_dir()