[php-src] Issue #11141: `Could not open input file:` should be sent to stderr

From: Date: Thu, 27 Apr 2023 11:36:34 +0000
Subject: [php-src] Issue #11141: `Could not open input file:` should be sent to stderr
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-244286@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/11141 Author: mvorisek ### 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.

« previous php.bugs (#244286) next »