1
0
mirror of https://github.com/php/php-src.git synced 2026-04-13 02:52:48 +02:00

Stop closing stderr and stdout streams (#8569)

Extensions may (and do) write to stderr in mshutdown and similar. In
the best case, with the stderr stream closed, it's just swallowed.

However, some libraries will do things like try to detect color, and
these will outright fail and cause an error path to be taken.
This commit is contained in:
Levi Morrison
2022-05-16 16:53:13 -06:00
committed by Arnaud Le Blanc
parent 33850fbb15
commit fa78e17724
4 changed files with 31 additions and 6 deletions

3
NEWS
View File

@@ -2,6 +2,9 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2022, PHP 8.0.20
- CLI:
. Fixed bug GH-8575 (CLI closes standard streams too early). (Levi Morrison)
- Core:
. Fixed Haiku ZTS builds. (David Carlier)