ID: 36030 Updated by: [EMAIL PROTECTED] Reported By: silencer at inbox dot ru Status: Assigned Bug Type: Streams related -Operating System: Linux +Operating System: * PHP Version: 5.1.2 Assigned To: wez New Comment:
Assigned to the maintainer. Previous Comments: ------------------------------------------------------------------------ [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