is_dir Tells whether the filename is a directory &reftitle.description; boolis_dir stringfilename Tells whether the given filename is a directory. &reftitle.parameters; filename 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. If you have enabled &safemode;, or open_basedir further restrictions may apply. &reftitle.returnvalues; Returns &true; if the filename exists and is a directory, &false; otherwise. &reftitle.examples; <function>is_dir</function> example ]]> &example.outputs; &reftitle.errors; &fs.emits.warning.on.failure; &reftitle.notes; ¬e.clearstatcache; &tip.fopen-wrapper.stat; &reftitle.seealso; chdir dir opendir is_file is_link