summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-06-24 12:53:40 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-06-28 11:09:55 +0200
commit8be051015e04ce6151da77581922eea65330f354 (patch)
treebf993afd3680cdb7325bf09ee06a30521580a6b0 /NEWS
parent143f4e3b5c4d72ae105adb14bde0ecdf361fbbf0 (diff)
downloadphp-git-8be051015e04ce6151da77581922eea65330f354.tar.gz
Add support for proc_open() with a command array
In this case the progarm will be executed directly, without a shell. On Linux the arguments are passed directly to execvp and no escaping is necessary. On Windows we construct a command string using escaping with the default Windows command-line argument parsing method described at https://docs.microsoft.com/en-us/cpp/cpp/parsing-cpp-command-line-arguments. Apart from avoiding the issue of argument escaping, passing an array and bypassing shell has the advantage of allowing proper signal delivery to the opened process (rather than the shell).
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index bfc4970385..dfaf0bc1eb 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,9 @@ PHP NEWS
- Opcache:
. Fixed #78202 (Opcache stats for cache hits are capped at 32bit NUM). (cmb)
+- Standard:
+ . Implemented FR #78177 (Make proc_open accept command array). (Nikita)
+
27 Jun 2019, PHP 7.4.0alpha2
- Core: