|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76596 phpdbg does not support display_errors=stderr
Submitted: 2018-07-09 02:16 UTC Modified: -
From: kevin dot abel dot 0 at gmail dot com Assigned:
Status: Open Package: phpdbg
PHP Version: 7.1.19 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: kevin dot abel dot 0 at gmail dot com
New email:
PHP Version: OS:


 [2018-07-09 02:16 UTC] kevin dot abel dot 0 at gmail dot com
phpdbg should have the same capabilities as the php cli, however the display_errors=stderr ini setting does not work.

Test script:
class FatalTest {}
eval('class FatalTest {}');

$ phpdbg -ddisplay_errors=stderr -qrr fatal.php 2>/dev/null
$ php -ddisplay_errors=stderr fatal.php 2>/dev/null

Expected result:
Nothing output to the terminal

Actual result:
Fatal error and stack trace are shown after the phpdbg command on the terminal stdout.


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Thu Dec 13 08:01:25 2018 UTC