php.net |  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
Have you experienced this issue?
Rate the importance of this bug to you:

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

Test script:
---------------
--fatal.php--
<?php
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Tue Dec 11 22:01:26 2018 UTC