mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
As of PHP 7.3.0, `sapi_cli_single_write()` is supposed to return `< 0` on failure, but `fwrite()` returns a `size_t`, and signals error by setting the stream's error indicator. We have to cater to that.