Skip to content

[pull] master from php:master#346

Merged
pull[bot] merged 2 commits into
Ammarpad:masterfrom
php:master
Jun 1, 2026
Merged

[pull] master from php:master#346
pull[bot] merged 2 commits into
Ammarpad:masterfrom
php:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Jun 1, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

tstarling and others added 2 commits June 1, 2026 10:01
- Add a $flags parameter to ZipArchive::openString(), by analogy with
  ZipArchive::open(). This allows the string to be opened read/write.
- Have the $data parameter to ZipArchive::openString() default to an
  empty string, for convenience of callers that want to create an empty
  archive. This works on all versions of libzip since the change in
  1.6.0 only applied to files, it's opt-in for generic sources.
- Add ZipArchive::closeString() which closes the archive and returns
  the resulting string. For consistency with openString(), return an
  empty string if the archive is empty.
@pull pull Bot locked and limited conversation to collaborators Jun 1, 2026
@pull pull Bot added the ⤵️ pull label Jun 1, 2026
@pull pull Bot merged commit 56d1ffc into Ammarpad:master Jun 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants