#34759 [Csd->Bgs]: STDERR, STDIN, STDOUT not defined
| From: | tony2001@php.net | Date: | Thu, 06 Oct 2005 13:34:22 +0000 |
| Subject: | #34759 [Csd->Bgs]: STDERR, STDIN, STDOUT not defined | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86124@lists.php.net to get a copy of this message | ||
ID: 34759
Updated by: tony2001@php.net
Reported By: d at blrf dot net
-Status: Closed
+Status: Bogus
Bug Type: CGI related
Operating System: Linux
PHP Version: 5.0.5
New Comment:
Not PHP problem -> bogus.
Previous Comments:
------------------------------------------------------------------------
[2005-10-06 15:28:50] d at blrf dot net
This seems to be the case only on this machine. So I'll look it up
there. Strange, anyway.
------------------------------------------------------------------------
[2005-10-06 15:12:14] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Works fine for me.
------------------------------------------------------------------------
[2005-10-06 15:10:01] d at blrf dot net
This is from CLI, not from web browser.
------------------------------------------------------------------------
[2005-10-06 15:08:23] tony2001@php.net
They are defined only in PHP CLI.
------------------------------------------------------------------------
[2005-10-06 14:58:25] d at blrf dot net
Description:
------------
STDERR, STDIN and STDOUT seem to be missing in PHP 5.0.5.
Reproduce code:
---------------
<?php
fwrite(STDERR, "ERROR!\n");
?>
Expected result:
----------------
ERROR!
Actual result:
--------------
fwrite(): supplied argument is not a valid stream resource in
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34759&edit=1