is_dirTells whether the filename is a directory
&reftitle.description;
boolis_dirstringfilename
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;
is_dir example
]]>
&example.outputs;
&reftitle.errors;
&fs.emits.warning.on.failure;
&reftitle.notes;
¬e.clearstatcache;
&tip.fopen-wrapper.stat;
&reftitle.seealso;
chdirdiropendiris_fileis_link