Merge branch 'PHP-7.1'

* PHP-7.1:
  improve test
This commit is contained in:
Anatol Belski 2017-07-10 13:50:53 +02:00
commit b6ae363338
2 changed files with 14 additions and 2 deletions

View file

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

View file

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