Could not open input file:
should be sent to stderr
#11141
Labels
Could not open input file:
should be sent to stderr
#11141
Description
Repro command:
php non-existent.php
Currently the output (
Could not open input file: non-existent.php
) is sent to stdout but it should be sent to stderr instead.I have discovered when using php for interprocess communication where the stdout might be consumed as regular data causing protocol failure hard to understand, as in my case, only the first 4 bytes were consumed (and from
Coul
it was hard to identify the problem). Simply said, stdout should never contain any other data then data printed by a valid script.The text was updated successfully, but these errors were encountered: