I believe these are dangerous, and not actually useful; error logging
builtins should be used instead.
Dangerous as:
it breaks fastcgi over STDIO
it breaks anything else consuming HHVM output, perhaps e.g. log
parsers
if error logs are redirected with HHVM config option rather FD
redirection, anything written to server_error() will not be in the
error log
exposing non-read-only per-process things to requests just seems like a
bad idea. Makes more sense in PHP where there is a process-per-request
(fastcgi is handled by a separate master process).
I believe these are dangerous, and not actually useful; error logging builtins should be used instead.
Dangerous as: