History log of /php-src/ext/zip/php_zip.stub.php (Results 1 – 25 of 42)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# ae3646db 28-Jul-2023 Remi Collet

use typed constants in 8.3


# 0893b4be 28-Jul-2023 Remi Collet

add ZipArchive::LENGTH_TO_END and ZipArchive::LENGTH_UNCHECKED constants


# b406f7c6 29-Jun-2023 Remi Collet

zip extension version 1.22.1

- add ZipArchive::FL_OPEN_FILE_NOW to open the file when added
instead of waiting for archive to be closed


# d8dd72fc 28-Jun-2023 Remi Collet

The ZipArchive::FL_RECOMPRESS constant is deprecated


# b5638a12 26-Jun-2023 Remi Collet

zip extension version 1.22.0 for libzip 1.10.0

- add new error macros (ER_DATA_LENGTH and ER_NOT_ALLOWED)
- add new archive global flags (ER_AFL_*)
- add ZipArchive::setArchiveFlag a

zip extension version 1.22.0 for libzip 1.10.0

- add new error macros (ER_DATA_LENGTH and ER_NOT_ALLOWED)
- add new archive global flags (ER_AFL_*)
- add ZipArchive::setArchiveFlag and ZipArchive::getArchiveFlag methods

New methods are available since libzip 0.11,
but really usable with new global flags

show more ...


# 148ac364 17-Jan-2023 Máté Kocsis

Customize the link of some constants in the manual

These changes are necessary because the links which are generated by default are already taken.


# e4f23769 26-Sep-2022 Máté Kocsis

Improve string class constant code generation (#9577)

Using strlen() will make sure that non-constant values can also be used.


# 946cdb8a 15-Sep-2022 Remi Collet

remove LIBZIP_VERSION constant def from stub


Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3
# 0c4c9fb9 16-Aug-2022 Máté Kocsis

Declare et/zip constants in stubs (#9146)

Revision tags: php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1
# 342e18f1 12-Jul-2022 Tim Düsterhus

Support the actual `#[\SensitiveParameter]` attribute in stubs (#8836)

Revision tags: php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5
# 1a4401d4 12-Apr-2022 Tim Düsterhus

Mark parameter in ext/zip as sensitive

# a13b94c5 02-May-2022 Remi Collet

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix test XFAIL, update phar to use spl_autoload_register
bug: Fix type for $index in ZipArchive::replaceFile


# 0e9c7c16 02-May-2022 Remi Collet

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
bug: Fix type for $index in ZipArchive::replaceFile
Fix test XFAIL, update phar to use spl_autoload_register


# 389d1130 02-May-2022 Martin Rehberger

bug: Fix type for $index in ZipArchive::replaceFile

Revision tags: php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4
# dc4cfb1c 12-Oct-2021 Nikita Popov

Don't accept flags in ZipArchive::getStream()

Per discussion on https://github.com/php/php-src/commit/e489e2d3885c35a2a969d92bada5d42aac1bbec6
this method should not accept $flags, so un

Don't accept flags in ZipArchive::getStream()

Per discussion on https://github.com/php/php-src/commit/e489e2d3885c35a2a969d92bada5d42aac1bbec6
this method should not accept $flags, so un-alias it from
getStreamName().

show more ...

# e489e2d3 11-Oct-2021 Nikita Popov

Add missing $flags param to getStream()

This is an alias of getStreamName() but was missing the optional
$flags parameter.

Revision tags: php-8.0.12RC1, php-7.4.25RC1
# e9b96ae5 05-Oct-2021 Remi Collet

Add ZipArchive::clearError, getStreamIndex and getStreamName methods

public function clearError(): void {}
public function getStreamIndex(int $index, int $flags = 0) {}
p

Add ZipArchive::clearError, getStreamIndex and getStreamName methods

public function clearError(): void {}
public function getStreamIndex(int $index, int $flags = 0) {}
public function getStreamName(string $name, int $flags = 0) {}

ZipArchive::getStream is kept for BC

See https://github.com/pierrejoye/php_zip/issues/20

show more ...

Revision tags: php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1, php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20
# 172c2987 27-May-2021 Máté Kocsis

Declare tentative return types for ext/zip (#7053)

Revision tags: php-8.0.7RC1, php-7.4.20RC1, php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5
# b567a9d1 19-Apr-2021 Máté Kocsis

Use typed properties in ext/zip

Closes GH-6881

Revision tags: php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1
# 4c6533c2 17-Feb-2021 Máté Kocsis

Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend

Closes GH-6706

Revision tags: php-7.4.16RC1, php-8.0.2, php-7.4.15, php-7.3.27
# 1954e597 26-Jan-2021 Máté Kocsis

Add support for generating class entries from stubs

Closes GH-6289

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

Revision tags: php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1
# f40838ea 08-Jan-2021 George Peter Banyard

Rename ``zip_ent`` parameter to ``zip_entry`` for consistency

All other functions use ``zip_entry``

Revision tags: php-8.0.1, php-7.4.14
# e470f9b3 02-Jan-2021 Christoph M. Becker

ZipArchive methods do not return NULL

Closes GH-6563.

Revision tags: php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1, php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23
# dafc72cb 23-Sep-2020 Remi Collet

for consistency use for all *Name methods

# de912821 16-Sep-2020 Máté Kocsis

Display string default values in stubs more uniformly

Settling on using quoted string

12