Lines Matching refs:is_dir
2 Test is_dir() function: usage variations - links
10 /* Prototype: bool is_dir ( string $dirname );
15 /* Testing is_dir() with dir, soft & hard link to dir,
20 echo "*** Testing is_dir() with dir and links to dir ***\n";
24 var_dump( is_dir($dirname) );
29 var_dump( is_dir($file_path."/is_dir_variation2_symlink") ); //is_dir() resolves symlinks
34 var_dump( is_dir($file_path."/is_dir_variation2_link") );
37 echo "\n*** Testing is_dir() with file and links to a file ***\n";
41 var_dump( is_dir($filename) );
46 var_dump( is_dir($file_path."/is_dir_variation2_symlink.tmp") );
51 var_dump( is_dir($file_path."/is_dir_variation2_link.tmp") );
79 *** Testing is_dir() with dir and links to dir ***
88 *** Testing is_dir() with file and links to a file ***