mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
fix stdin reading in new openssl tests
This commit is contained in:
parent
82a98f6e52
commit
56cbe04381
@ -72,11 +72,12 @@ class ServerClientTestCase
|
||||
public function runWorker()
|
||||
{
|
||||
$code = '';
|
||||
$i = 0;
|
||||
|
||||
while (1) {
|
||||
$line = fgets(STDIN);
|
||||
while(($line = fgets(STDIN)) != false) {
|
||||
echo $line;
|
||||
|
||||
if (trim($line) === "---") {
|
||||
if ($i++ > 128) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user