php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77796 Function ssh2_sftp (standard_5.php)
Submitted: 2019-03-26 10:40 UTC Modified: 2019-03-26 11:29 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: blackv dot z at hotmail dot de Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: MacOS 10.13.6
Private report: No CVE-ID: None
 [2019-03-26 10:40 UTC] blackv dot z at hotmail dot de
Description:
------------
The function ssh2_sftp can also return false but it is not documentated. 

Thats the @return description of the documentation of ssh2_sftp:

"@return resource This method returns an SSH2 SFTP resource for use with
  all other ssh2_sftp_*() methods and the
  ssh2.sftp:// fopen wrapper."


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-03-26 11:29 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=347060
Log: Fix #77796: Function ssh2_sftp (standard_5.php)
 [2019-03-26 11:29 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2019-03-26 11:29 UTC] cmb@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 [2019-03-26 11:30 UTC] salathe@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=b2ad2b1fb7e211914bc3677df372c8dff0d95491
Log: Fix #77796: Function ssh2_sftp (standard_5.php)
 [2020-02-07 06:05 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=5f64b63acf584394aacb62279c8dd9f36c16202b
Log: Fix #77796: Function ssh2_sftp (standard_5.php)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 02 00:01:30 2024 UTC