php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #76002 Default value doesn't match allowed values
Submitted: 2018-02-23 23:56 UTC Modified: 2018-04-19 16:27 UTC
From: me at leodillon dot com Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2018-02-23 23:56 UTC] me at leodillon dot com
Description:
------------
---
From manual page: http://www.php.net/function.ftp-get
---
Description days that mode defaults to "FTP_IMAGE" yet under the Parameters for mode, it says this "Must be either FTP_ASCII or FTP_BINARY" - these two things don't really add up!


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-02-24 00:03 UTC] nospam at example dot org
FTP_IMAGE (integer)
Alias of FTP_BINARY.
 [2018-04-19 16:26 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=344749
Log: Fix #76002: Default value doesn't match allowed values

Since FTP_IMAGE is the alias, we're changing the initializer
to FTP_BINARY.
 [2018-04-19 16:27 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2018-04-19 16:27 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.
 [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=c4637383987ce02892f526e5927a14e5297c53a3
Log: Fix #76002: Default value doesn't match allowed values
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 13:01:28 2024 UTC