streamWrapper::rename

streamWrapper::rename

(PHP 5, PHP 7)

streamWrapper::renameRenames a file or directory

Description

public bool streamWrapper::rename ( string $path_from , string $path_to )

This method is called in response to rename().

Should attempt to rename path_from to path_to

Note:

In order for the appropriate error message to be returned this method should 登录查看完整内容