Merge branch 'PHP-7.3' into PHP-7.4

This commit is contained in:
Jakub Zelenka 2019-02-24 13:15:17 +00:00
commit 20af026acd

View File

@ -23,6 +23,7 @@ $clientCode = <<<'CODE'
$read = [$fp];
$buf = '';
$emptyChunkPrinted = false;
$warmedUp = false;
while (stream_select($read, $write, $except, 1000)) {
$chunk = stream_get_contents($fp, 4096);
@ -37,7 +38,10 @@ $clientCode = <<<'CODE'
phpt_notify('server');
continue;
}
if ($chunk !== '' || !$emptyChunkPrinted) {
$emptyChunkPrinted = true;
var_dump($chunk);
}
if ($buf === 'hello, world') {
break;
}
@ -123,5 +127,4 @@ ServerClientTestCase::getInstance()->run($clientCode, [
?>
--EXPECT--
string(0) ""
string(0) ""
string(12) "hello, world"