[GIT-PULLS] [php-src] PR #23186: Balance stream error ops on file_put_contents LOCK_EX URL reject

[email protected] (iliaal)
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/23186
Author: iliaal

file_put_contents begins a stream error operation then returns early when LOCK_EX is used with a non-file URL without ending the operation. After ~1000 failures the depth limit is exhausted and later stream ops fail. End the operation before that RETURN_FALSE.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.