]> granicus.if.org Git - php/commitdiff
Fixed test
authorArnaud Le Blanc <lbarnaud@php.net>
Thu, 18 Dec 2008 16:04:38 +0000 (16:04 +0000)
committerArnaud Le Blanc <lbarnaud@php.net>
Thu, 18 Dec 2008 16:04:38 +0000 (16:04 +0000)
ext/standard/tests/streams/bug46024.phpt

index 5dd19084c45be3e1cd72249497593c28ff6d75a3..34407cdc8d14477ebcfece53e5f44db9585809dc 100644 (file)
@@ -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]);