--TEST-- Test is_dir() function: usage variations - links --SKIPIF-- --CLEAN-- --EXPECTF-- *** Testing is_dir() with dir and links to dir *** -- With dir -- bool(true) -- With symlink -- bool(true) -- With hardlink -- Warning: link(): %s in %s on line %d bool(false) *** Testing is_dir() with file and links to a file *** -- With file -- bool(false) -- With symlink -- bool(false) -- With hardlink -- bool(false) *** Done ***