From: Arnaud Le Blanc Date: Thu, 18 Dec 2008 16:04:59 +0000 (+0000) Subject: MFH: Fixed test X-Git-Tag: php-5.3.0beta1~405 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0cd7fdd99ff0e992fc8403aac4c83a2e2a5506c1;p=php MFH: Fixed test --- diff --git a/ext/standard/tests/streams/bug46024.phpt b/ext/standard/tests/streams/bug46024.phpt index 5dd19084c4..34407cdc8d 100644 --- a/ext/standard/tests/streams/bug46024.phpt +++ b/ext/standard/tests/streams/bug46024.phpt @@ -20,7 +20,7 @@ $w = array($pipes[0]); $e = null; $ret = stream_select($r, $w, $e, 1); var_dump($ret === (count($r) + count($w))); -fread($pipes[0], 1); +fread($pipes[1], 1); $r = array($pipes[1]); $w = array($pipes[0]);