õÞÅÂÎÉË òîò
îÁÚÁÄ ÷ÐÅÒ£Ä

rename

(PHP 3, PHP 4)

rename - ÐÅÒÅÉÍÅÎÏ×Ù×ÁÅÔ ÆÁÊÌ.

ïÐÉÓÁÎÉÅ

bool rename (string oldname, string newname)

ðÙÔÁÅÔÓÑ ÐÅÒÅÉÍÅÎÏ×ÁÔØ oldname × newname .

÷ÏÚ×ÒÁÝÁÅÔ TRUE ÐÒÉ ÕÓÐÅÈÅ, FALSE ÐÒÉ ÎÅÕÄÁÞÅ.


îÁÚÁÄ ïÇÌÁ×ÌÅÎÉÅ ÷ÐÅÒ£Ä
realpath ÷×ÅÒÈ rewind