--TEST-- Test rename() function: usage variations --SKIPIF-- --FILE-- --CLEAN-- --EXPECTF-- -- Renaming file to same file name -- bool(true) bool(true) -- Renaming directory to same directory name -- bool(true) bool(true) -- Renaming existing file to existing directory name -- Warning: rename(%s/rename_variation3.tmp,%s/rename_variation3_dir): Access is denied (code: 5) in %s on line %d bool(false) bool(true) bool(true) -- Renaming existing directory to existing file name -- bool(true) bool(true) bool(false) Done