Homec4science

Write to STDERR instead of php://stderr

Authored by vrana <jakubv@fb.com> on Oct 9 2012, 01:18.

Description

Write to STDERR instead of php://stderr

Summary:
It doesn't print anything under HPHP.
I've reported it but in the meantime...

Also the semantics of file_put_contents('php://stderr') is somewhat weird.
It suggests that the whole error channel is overwritten by the message which is not the case.

Test Plan:

$ bin/storage --dry-run

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T1261

Differential Revision: https://secure.phabricator.com/D3661

Details

Committed
vrana <jakubv@fb.com>Oct 9 2012, 01:34
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUd71108874fa6: When starting the Phutil lexer in an initial state, push it onto the stack
Branches
Unknown
Tags
Unknown

Event Timeline

vrana <jakubv@fb.com> committed rPHU7b18e75b006f: Write to STDERR instead of php://stderr (authored by vrana <jakubv@fb.com>).Oct 9 2012, 01:34