[php-src] PR #21804: phar: propagate phar_stream_flush return value from phar_stream_close

From: Date: Sat, 18 Apr 2026 14:17:34 +0000
Subject: [php-src] PR #21804: phar: propagate phar_stream_flush return value from phar_stream_close
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-35775@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/21804 Author: iliaal phar_stream_close called phar_stream_flush but discarded its int return value, always returning 0 from the stream close operation. On a write-modified phar entry, a flush failure (disk full during archive commit, etc.) was silently ignored. Capture the flush result and return it so the stream layer receives an accurate close status. Fixes #21799

« previous php.git-pulls (#35775) next »