diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-01 13:07:30 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-11 15:48:10 +0200 |
commit | 17f7fb76053cabe20225472debe4d1801221ef9f (patch) | |
tree | a5a0ed962fc24182a15e47e932f340b25862db91 /tests | |
parent | 6285bb52faf407b07e71497723d13a1b08821352 (diff) | |
download | php-git-17f7fb76053cabe20225472debe4d1801221ef9f.tar.gz |
Switch to using shell-less proc_open() in various server tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic/bug67198.phpt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/basic/bug67198.phpt b/tests/basic/bug67198.phpt index 184916197b..3f5e2a348c 100644 --- a/tests/basic/bug67198.phpt +++ b/tests/basic/bug67198.phpt @@ -35,7 +35,9 @@ $opts = array('http' => $context = stream_context_create($opts); -php_cli_server_start("exit(file_get_contents('php://input'));", false, "-d enable_post_data_reading=Off"); +php_cli_server_start( + "exit(file_get_contents('php://input'));", null, + ["-d", "enable_post_data_reading=Off"]); var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context)); var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context)); |