--TEST-- Test dir() function : usage variations - open a file instead of directory --SKIPIF-- --FILE-- --EXPECTF-- *** Testing dir() : open a file instead of a directory *** Warning: dir(%s): The directory name is invalid. (code: %d) in %s on line %d Warning: dir(%s): failed to open dir: %s in %s on line %d bool(false) Done