#34759 [Opn->Bgs]: STDERR, STDIN, STDOUT not defined

From: Date: Thu, 06 Oct 2005 13:08:23 +0000
Subject: #34759 [Opn->Bgs]: STDERR, STDIN, STDOUT not defined
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-86113@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: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 5.0.5 New Comment: They are defined only in PHP CLI. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#86113) next »