diff options
author | Martin Schröder <m.schroeder2007@gmail.com> | 2020-07-12 20:56:47 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-14 10:35:45 +0200 |
commit | 547d98b81d674c48f04eab5c24aa065eba4838cc (patch) | |
tree | c74b563738e221d80224562c0c3a248f2e102ce1 /UPGRADING | |
parent | 1a00d015be4f5c1457146022c4d692a03d95154b (diff) | |
download | php-git-547d98b81d674c48f04eab5c24aa065eba4838cc.tar.gz |
Support socketpairs in proc_open()
Closes GH-5777.
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -631,6 +631,14 @@ PHP 8.0 UPGRADE NOTES $proc = proc_open($command, [['pty'], ['pty'], ['pty']], $pipes); + . proc_open() now supports socket pair descriptors. The following attaches + a distinct socket pair to stdin, stdout and stderr: + + $proc = proc_open( + $command, [['socket'], ['socket'], ['socket']], $pipes); + + Unlike pipes, sockets do not suffer from blocking I/O issues on Windows. + However, not all programs may work correctly with stdio sockets. . Sorting functions are now stable, which means that equal-comparing elements will retain their original order. RFC: https://wiki.php.net/rfc/stable_sorting |