--TEST-- Test rename() function: usage variations --SKIPIF-- --FILE-- --CLEAN-- --EXPECTF-- -- Renaming file to same file name -- bool(true) -- Renaming directory to same directory name -- bool(true) -- Renaming existing file to existing directory name -- Warning: rename(%s/rename_variation.tmp,%s/rename_variation_dir): No such file or directory in %s on line %d bool(false) -- Renaming existing directory to existing file name -- bool(true) Done