views:

643

answers:

1

I have 'stdout' under display_errors in my phpinfo.

What does it mean?

Where can I find the documentation about it?

I could not find one in http://php.net/

I read here telling that it should be off for the security reasons.

Thanks in advance.

+1  A: 

stdout is the output stream that is used for normal output. echo "hello worl"; outputs to stdout. You can also log to file, or output to stderr. I don't think stderr is useful in the web context, but I could be wrong.

http://us3.php.net/manual/en/wrappers.php.php

Antony Carthy
stderr is logged to webserver error log by default (at least on apache)
Maciej Łebkowski
Thanks for the clarification Maciej :)
Antony Carthy
stdout = "Standard output", stderr = "Standard error [output]"
deceze