The original STDIN, STDOUT, and STDERR are system constants in PHP. They are populated with file descriptors for standard input, output, and PHP initialization errors.
The php.net documentation describes the following resources in constants:
Value of a constant; only scalar and zero values are allowed. Scalar values are integer, float, string, or boolean. it is possible to define resource constants, however this is not recommended and may cause unpredictable behavior.
fclose(STDOUT), STDOUT. STDOUT .
echo' echo "Hello, World!", PHP STDOUT, . , STDOUT , fclose'd. fwrite(STDOUT, "hello") .
, $STDOUT. , , . PHP, STDOUT . STDOUT.
, , PHP , , " " , .