mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
Merge branch 'PHP-7.3' into PHP-7.4
This commit is contained in:
commit
20af026acd
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user