ID: 36030 User updated by: silencer at inbox dot ru Reported By: silencer at inbox dot ru -Status: No Feedback +Status: Open Bug Type: Streams related -Operating System: * +Operating System: Gentoo Linux -PHP Version: 5.1.2 +PHP Version: 5.2.10 New Comment:
reopened Previous Comments: ------------------------------------------------------------------------ [2009-06-30 16:20:59] silencer at inbox dot ru Still don't working with PHP 5.2.10-pl0-gentoo (cli) ------------------------------------------------------------------------ [2009-05-09 01:31:58] squid3 at treenet dot co dot nz 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 ------------------------------------------------------------------------ [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