Doc #80318 [Opn->Ver]: The $method property of ZipArchive::setEncryptionIndex type should be int

From: Date: Wed, 04 Nov 2020 22:49:49 +0000
Subject: Doc #80318 [Opn->Ver]: The $method property of ZipArchive::setEncryptionIndex type should be int
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18089@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80318&edit=1 ID: 80318 Updated by: cmb@php.net Reported by: adeschambeault at exolnet dot com Summary: The $method property of ZipArchive::setEncryptionIndex type should be int -Status: Open +Status: Verified Type: Documentation Problem Package: Zip Related Operating System: macOS 10.15.7 PHP Version: 7.4.12 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2020-11-04 19:42:36] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80318&edit=1

« previous php.doc.bugs (#18089) next »