#39423 [Opn->Bgs]: fread expired

From: Date: Wed, 08 Nov 2006 13:43:47 +0000
Subject: #39423 [Opn->Bgs]: fread expired
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-104578@lists.php.net to get a copy of this message
ID: 39423 Updated by: tony2001@php.net Reported By: base5 at 126 dot com -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: windows xp PHP Version: 5.2.0 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Not PHP problem. Previous Comments: ------------------------------------------------------------------------ [2006-11-08 06:57:44] base5 at 126 dot com Description: ------------ I used fgets/fread to read information from a pipe. then,I wait and wait , and wait . env: windows xp php 5.2 Reproduce code: --------------- $handle = popen('cmd.exe 2>&1', 'r'); do { $data = fgets($handle, 100); if (strlen($data) == 0) { break; } $contents .= $data; }while(true); echo $contents; pclose($handle); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39423&edit=1

« previous php.bugs (#104578) next »