ID: 36030 Comment by: squid3 at treenet dot co dot nz Reported By: silencer at inbox dot ru Status: No Feedback Bug Type: Streams related Operating System: * PHP Version: 5.1.2 New Comment:
Encountered this bug when upgrading php4 to php5 about a year ago. It no longer seems to be an issue as of: Debian Lenny PHP 5.2.9-2 with Suhosin-Patch 0.9.7 (cli) (built: Apr 25 2009 08:53:53) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies Previous Comments: ------------------------------------------------------------------------ [2008-07-24 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2008-07-13 15:56:35] j...@php.net 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 ------------------------------------------------------------------------ [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