Req #78763 [Com]: redirect php warnings/errors to stderr per default on cli
| From: | henry dot paradiz at gmail dot com | Date: | Wed, 13 Nov 2019 19:27:33 +0000 |
| Subject: | Req #78763 [Com]: redirect php warnings/errors to stderr per default on cli | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-223703@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78763&edit=1
ID: 78763
Comment by: henry dot paradiz at gmail dot com
Reported by: maggus dot staab+php at googlemail dot com
Summary: redirect php warnings/errors to stderr per default
on cli
Status: Open
Type: Feature/Change Request
Package: PHP options/info functions
Operating System: Ubuntu
PHP Version: Next Major Version
Block user comment: N
Private report: N
New Comment:
Oh, yes. That would be good. Let's make it happen. Unix-pipe.
Previous Comments:
------------------------------------------------------------------------
[2019-10-30 19:24:11] maggus dot staab+php at googlemail dot com
Description:
------------
Wouldnt it make sense to use ini_set('display_errors', 'stderr'); per default in
the php.ini for the CLI with php8?
Having these warnings on stderr would help to build unix-pipe tools.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78763&edit=1