Browse Source

Merge branch 'PHP-7.1'

* PHP-7.1:
  improve test
pull/2560/merge
Anatol Belski 9 years ago
parent
commit
b6ae363338
  1. 8
      ext/standard/tests/general_functions/proc_open-win32-mb0.phpt
  2. 8
      ext/standard/tests/general_functions/proc_open-win32-mb1.phpt

8
ext/standard/tests/general_functions/proc_open-win32-mb0.phpt

@ -29,10 +29,16 @@ $p = proc_open(
array("bypass_shell" => true) array("bypass_shell" => true)
); );
echo fread($pipes[1], 1024);
$out = "";
while (!feof($pipes[1])) {
$out .= fread($pipes[1], 1024);
}
proc_close($p); proc_close($p);
echo $out;
?> ?>
==DONE== ==DONE==
--EXPECTF-- --EXPECTF--

8
ext/standard/tests/general_functions/proc_open-win32-mb1.phpt

@ -26,10 +26,16 @@ $p = proc_open(
$pipes $pipes
); );
echo fread($pipes[1], 1024);
$out = "";
while (!feof($pipes[1])) {
$out .= fread($pipes[1], 1024);
}
proc_close($p); proc_close($p);
echo $out;
?> ?>
==DONE== ==DONE==
--EXPECTF-- --EXPECTF--

Loading…
Cancel
Save