Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does stdout in display_errors in phpinfo() mean?

Tags:

security

php

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.

like image 505
shin Avatar asked Jul 07 '09 08:07

shin


1 Answers

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.

PHP Manual: php:// — Accessing various I/O streams - (PHP Wrappers)

like image 83
Antony Carthy Avatar answered Oct 23 '22 11:10

Antony Carthy