Doc #80318 [NEW]: The $method property of ZipArchive::setEncryptionIndex type should be int
| From: | adeschambeault at exolnet dot com | Date: | Wed, 04 Nov 2020 19:42:37 +0000 |
| Subject: | Doc #80318 [NEW]: The $method property of ZipArchive::setEncryptionIndex type should be int | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-18088@lists.php.net to get a copy of this message | ||
From: adeschambeault at exolnet dot com
Operating system: macOS 10.15.7
PHP version: 7.4.12
Package: Zip Related
Bug Type: Documentation Problem
Bug description:The $method property of ZipArchive::setEncryptionIndex type should be int
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.
--
Edit bug report at https://bugs.php.net/bug.php?id=80318&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80318&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80318&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80318&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80318&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80318&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80318&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80318&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80318&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80318&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80318&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80318&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80318&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80318&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80318&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80318&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80318&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80318&r=mysqlcfg