Iliaa, looking at a syscall trace from PHP 4.2, the difference in handling php://std* is that 4.2 uses non-blocking mode by default, while streams block by default.
4.2: fcntl64(0x3, 0x3, 0x8050fe5, 0) = 2 4.3: fcntl64(0x3, 0x3, 0xbffff7f4, 0x3) = 2 E.g. $fp = fopen("php://stdin", "r"); stream_set_blocking($fp, false); print fgets($fp, 500); works as in PHP 4.2 without the set_blocking call. Wez, any idea on what is causing this? - Sascha -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php