[php-src] PR #11169: Fix GH-11104: STDIN/STDOUT/STDERR is not available for CLI without a script
| From: | nielsdos | Date: | Sun, 30 Apr 2023 21:49:14 +0000 |
| Subject: | [php-src] PR #11169: Fix GH-11104: STDIN/STDOUT/STDERR is not available for CLI without a script | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22416@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11169
Author: nielsdos
I found no reason why this is done this way.
Of course this will allow users to do stupid stuff like
fclose(STDOUT); etc. but if
they type in that code they clearly know what they're doing...
Easy fix, but I targeted master since this behaviour is long-standing and I'm not even sure
this qualifies as a bug or as a feature.
Requesting review from Ilija since he also interacted with the issue.