History log of /PHP-8.2/ext/zip/php_zip.stub.php (Results 1 – 25 of 41)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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


# 0c4c9fb9 16-Aug-2022 Máté Kocsis

Declare et/zip constants in stubs (#9146)


# 342e18f1 12-Jul-2022 Tim Düsterhus

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


# 1a4401d4 12-Apr-2022 Tim Düsterhus

Mark parameter in ext/zip as sensitive


# 62a650ab 02-May-2022 Martin Rehberger

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


# 389d1130 02-May-2022 Martin Rehberger

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


# 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.


# 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 ...


# 172c2987 27-May-2021 Máté Kocsis

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


# b567a9d1 19-Apr-2021 Máté Kocsis

Use typed properties in ext/zip

Closes GH-6881


# 4c6533c2 17-Feb-2021 Máté Kocsis

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

Closes GH-6706


# 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>


# f40838ea 08-Jan-2021 George Peter Banyard

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

All other functions use ``zip_entry``


# e470f9b3 02-Jan-2021 Christoph M. Becker

ZipArchive methods do not return NULL

Closes GH-6563.


# 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


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

Display types in stubs more uniformly

In preparation for generating method signatures for the manual.

This change gets rid of bogus false|null return types, a few unnecessary traili

Display types in stubs more uniformly

In preparation for generating method signatures for the manual.

This change gets rid of bogus false|null return types, a few unnecessary trailing backslashes, and settles on using ? when possible for nullable types.

show more ...


12