Re: Proposal: &$result_code=null parameter in shell_exec()

From: Date: Thu, 18 Nov 2021 10:43:21 +0000
Subject: Re: Proposal: &$result_code=null parameter in shell_exec()
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-116444@lists.php.net to get a copy of this message
On 18.11.2021 at 09:48, Hans Henrik Bergan wrote: > while we're on the topic of shell_exec(), does anyone happen to know why > shell_exec() pipes in *text mode*/binary-corruption-mode on windows? I guess that is for historic reasons, where CRLF vs. LF really mattered on Windows, and it's more common to get textual results with that function. There has been an RFC part[1] to change that, but it was rejected. [1] <https://wiki.php.net/rfc/deprecations_php_8_1#t_fopen_mode> -- Christoph

« previous php.internals (#116444) next »