Skip to content

[Sync-EN] Document the Windows deadlock in flock() and the PHP 8.5 zlib changes - #1757

Merged
mmalferov merged 9 commits into
php:masterfrom
lacatoire:sync-en/1680
Nov 16, 2026
Merged

mmalferov merged 9 commits into
php:masterfrom
lacatoire:sync-en/1680

Conversation

@lacatoire

@lacatoire lacatoire commented Aug 31, 2026 •

Copy link
Copy Markdown
Member

Syncs reference/filesystem/functions/flock.xml with php/doc-en#4000 and php/doc-en#5971, and the zlib pages with php/doc-en#5971.

  • flock.xml: the warning gains the paragraph and example about Windows hanging when PHP tries to execute a source file that is LOCK_EX'ed, with the script that reproduces the deadlock. The note gains the sentence about require-ing a LOCK_EX'ed file failing with ErrorException: require(): Read of X bytes failed with errno=13 Permission denied (left in English, as it is the literal text PHP emits), and the sentence about gzopen() file pointers supporting locks as of PHP 8.5.0.
  • gzfile.xml, gzopen.xml, readgzfile.xml: 8.5.0 changelog entry for the default stream context now being used; gzopen.xml also gets the 8.5.0 entry for flock() support.

Also removed the trailing ?> from the examples of the touched files and fixed a typo in readgzfile.xml.

EN-Revision bumped to 0baba6599fa96a354d01ce3592bee5d2d355e1ba.

Fixes: #1680
Fixes: #2023

@lacatoire
lacatoire requested a review from a team as a code owner August 31, 2026 10:15
@lacatoire lacatoire changed the title [Sync-EN] Document the potential Windows deadlock in flock() [Sync-EN] Document the Windows deadlock in flock() and the PHP 8.5 zlib changes Nov 8, 2026
@mmalferov
mmalferov merged commit 5b27b67 into php:master Nov 16, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sync EN] Document PHP 8.5 zlib default stream context and flock support [Sync EN] document potential Windows deadlock

2 participants