stream_select may pass only variables by reference

This commit is contained in:
Uwe Steinmann 2016-04-05 15:15:59 +02:00
parent 58e6f10a93
commit ecdbc03d6a

View File

@ -75,7 +75,9 @@ class SeedDMS_Preview_Previewer {
do {
$timeleft = $timeout - time();
$read = array($pipes[1]);
stream_select($read, $write = NULL, $exeptions = NULL, $timeleft, 200000);
$write = NULL;
$exeptions = NULL;
stream_select($read, $write, $exeptions, $timeleft, 200000);
if (!empty($read)) {
$output .= fread($pipes[1], 8192);