php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80318 The $method property of ZipArchive::setEncryptionIndex type should be int
Submitted: 2020-11-04 19:42 UTC Modified: 2020-11-04 22:49 UTC
From: adeschambeault at exolnet dot com Assigned: cmb (profile)
Status: Closed Package: Zip Related
PHP Version: 7.4.12 OS: macOS 10.15.7
Private report: No CVE-ID: None
 [2020-11-04 19:42 UTC] adeschambeault at exolnet dot com
Description:
------------
---
From manual page: https://php.net/ziparchive.setencryptionindex
---

All ZipArchive::EM_ constants are int, thus the $method property should accept int instead of string.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-04 22:49 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2020-11-04 22:52 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=988d0167dc5890975ed510c38622e930555acaf5
Log: Fix #80318: The $method property of ZipArchive::setEncryptionIndex type should be int
 [2020-11-04 22:52 UTC] phpdocbot@php.net
-Status: Verified +Status: Closed
 [2020-11-05 01:35 UTC] phpdocbot@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=c64d62490c9106b38793901fdfceff70d470f20e
Log: Fix #80318: The $method property of ZipArchive::setEncryptionIndex
 [2020-12-30 11:58 UTC] nikic@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=656e92e524eb341c50ba8517ce1e5cbb91ba9d7b
Log: Fix #80318: The $method property of ZipArchive::setEncryptionIndex
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 14:01:30 2024 UTC