From: Anatol Belski Date: Wed, 26 Feb 2014 12:37:20 +0000 (+0100) Subject: restored that test part in ext/openssl to enable notify/wait X-Git-Tag: php-5.6.0alpha3~1^2~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ab73c52ab56fd0f5eb3f2b774fb65d605c10980;p=php restored that test part in ext/openssl to enable notify/wait --- diff --git a/ext/openssl/tests/ServerClientTestCase.inc b/ext/openssl/tests/ServerClientTestCase.inc index 06e6154fd0..03e0c2de87 100644 --- a/ext/openssl/tests/ServerClientTestCase.inc +++ b/ext/openssl/tests/ServerClientTestCase.inc @@ -72,10 +72,11 @@ class ServerClientTestCase public function runWorker() { $code = ''; - $i = 0; - while(($line = fgets(STDIN)) != false) { - if ($i++ > 128) { + while (1) { + $line = fgets(STDIN); + + if (trim($line) === "---") { break; }