is_executable

(PHP 3, PHP 4 , PHP 5)

is_executable -- Prüft, ob eine Datei ausführbar ist

Beschreibung

bool is_executable ( string filename)

Gibt TRUE zurück, wenn die Datei existiert und ausführbar ist.

is_executable() wurde für Windows in PHP Version 5.0.0 eingeführt.

Anmerkung: The results of this function are cached. See clearstatcache() for more details.

Anmerkung: This function will not work on remote files as the file to be examined must be accessible via the servers filesystem.

Siehe auch is_file() und is_link().