summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.stub.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-28 10:52:09 +0100
committerRemi Collet <remi@php.net>2020-01-28 10:53:49 +0100
commitac9a265f01385f50718f732b1a5badd2f31469b4 (patch)
treef2a511a2e1038aaf0252db5a47255f9d72583600 /ext/zip/php_zip.stub.php
parent3bae1793abfaf03f625f4d1d0c38d125627147e9 (diff)
downloadphp-git-ac9a265f01385f50718f732b1a5badd2f31469b4.tar.gz
- bump zip extension version to 1.16.0 - add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods
Diffstat (limited to 'ext/zip/php_zip.stub.php')
-rw-r--r--ext/zip/php_zip.stub.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/zip/php_zip.stub.php b/ext/zip/php_zip.stub.php
index e312bfd031..c88d2742ee 100644
--- a/ext/zip/php_zip.stub.php
+++ b/ext/zip/php_zip.stub.php
@@ -90,6 +90,12 @@ class ZipArchive
/** @return null|false */
public function setCommentName(string $name, string $comment) {}
+ /** @return null|false */
+ public function setMtimeIndex(int $index, int $timestamp, int $flags = 0) {}
+
+ /** @return null|false */
+ public function setMtimeName(string $name, int $timestamp, int $flags = 0) {}
+
/** @return string|false */
public function getCommentIndex(int $index, int $flags = 0) {}