php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73958 ftp_rename throws a warning that is not documented
Submitted: 2017-01-19 09:15 UTC Modified: 2017-01-22 12:29 UTC
From: ramrami dot mohamed at gmail dot com Assigned: tpunt (profile)
Status: Closed Package: FTP related
PHP Version: 7.0.14 OS:
Private report: No CVE-ID: None
 [2017-01-19 09:15 UTC] ramrami dot mohamed at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.ftp-rename
---

'ftp_rename' throws a warning when there is a problem (e.g missing directory). This warning is not documented as the documentation says "Returns TRUE on success or FALSE on failure.". While for 'ftp_chdir' it says "Returns TRUE on success or FALSE on failure. If changing directory fails, PHP will also throw a warning."

The warning :
ftp_rename(): Rename non_existing_folder/my_file: No such file or directory


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-19 10:32 UTC] cmb@php.net
-Package: Documentation problem +Package: FTP related
 [2017-01-22 12:28 UTC] tpunt@php.net
Automatic comment from SVN on behalf of tpunt
Revision: http://svn.php.net/viewvc/?view=revision&revision=341745
Log: Resolve doc bug #73958
 [2017-01-22 12:29 UTC] tpunt@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: tpunt
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC