|
Posted by ljb on 11/13/07 23:15
nc@iname.com wrote:
> On Nov 12, 4:46 pm, ljb <lba...@pobox.com.delete.th.is> wrote:
>>
>> Using the PHP CLI executable, if the script to run is fed
>> to PHP via standard input, then it seems PHP does not define
>> any of the standard stream constants STDIN, STDOUT, and STDERR.
>> While I can understand not defining STDIN, since that's where
>> the script is, I think not defining STDOUT and STDERR is a bug.
>> Any comments before I open a bug report?
>
> Are you sure you're using CLI interpreter, not CGI one? What does
> php_sapi_name() return?
Yes, thanks, I'm using CLI. I only have Apache SAPI and CLI built, no CGI,
and php_sapi_name() returns 'cli'.
Navigation:
[Reply to this message]
|