From: [EMAIL PROTECTED]
Operating system: win2k
PHP version: 4CVS-2002-10-27
PHP Bug Type: Reproducible crash
Bug description: fwrite to stdin causes exception in streams
running run-tests.php with current cvs build causes exception. Minimal
code to repro:
$fp = fopen("php://stdin", "r+");
fwrite($fp, "Some tests have failed, would you like to send the\nreport to
PHP's QA team? [Yn]: ");
fflush($fp);
$user_input = fgets($fp, 10);
--
Edit bug report at http://bugs.php.net/?id=20126&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20126&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20126&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20126&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20126&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20126&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20126&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20126&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20126&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20126&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20126&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20126&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20126&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20126&r=isapi