summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/php_zip.stub.php')
-rw-r--r--ext/zip/php_zip.stub.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/zip/php_zip.stub.php b/ext/zip/php_zip.stub.php
index 1e3ceb6d07..101afcbe8e 100644
--- a/ext/zip/php_zip.stub.php
+++ b/ext/zip/php_zip.stub.php
@@ -186,4 +186,12 @@ class ZipArchive
/** @return bool */
public function registerCancelCallback(callable $callback) {}
#endif
+
+#ifdef HAVE_METHOD_SUPPORTED
+ /** @return bool */
+ public static function isCompressionMethodSupported(int $method, bool $enc): bool {}
+
+ /** @return bool */
+ public static function isEncryptionMethodSupported(int $method, bool $enc): bool {}
+#endif
}