ID: 36030 Updated by: [EMAIL PROTECTED] Reported By: silencer at inbox dot ru -Status: Assigned +Status: Feedback Bug Type: Streams related Operating System: * PHP Version: 5.1.2 Assigned To: wez New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Previous Comments: ------------------------------------------------------------------------ [2006-01-16 10:58:35] [EMAIL PROTECTED] Assigned to the maintainer. ------------------------------------------------------------------------ [2006-01-16 10:56:22] silencer at inbox dot ru Description: ------------ stream_set_timeout can't be used for php://stdin (PHP executed as CGI, not Apache module). Bug #22837 describe same problem for PHP4 and promises "better support" in PHP5, but still don't working. Reproduce code: --------------- <?php $fp=fopen('php://stdin','r'); stream_set_timeout($fp,1) or die ('Failed'); echo 'Success'; ?> Expected result: ---------------- output "Success" Actual result: -------------- output "Failed" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36030&edit=1
