ID: 17258
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Scripting Engine problem
Operating System: Compaq Tru64 5.1
PHP Version: 4.2.1
New Comment:
I guess it must be an issue with how php interacts with tru64
Previous Comments:
------------------------------------------------------------------------
[2002-05-15 14:34:54] [EMAIL PROTECTED]
Works fine for me on linux, this may be problem with terminal...
------------------------------------------------------------------------
[2002-05-15 14:30:49] [EMAIL PROTECTED]
Consider this simple script:
#!/usr/local/bin/php -q
<?
echo "TEST\n";
$fd=fopen("php://stdin","r");
$test=fgets($fd,4096);
?>
When I run it PHP immediately asks for stdin, then after I enter
something it does the echo "TEST". It's ignoring the order of my code!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17258&edit=1