Bug #76596 [Wfx->Csd]: phpdbg does not support display_errors=stderr

From: Date: Wed, 30 Jan 2019 17:31:00 +0000
Subject: Bug #76596 [Wfx->Csd]: phpdbg does not support display_errors=stderr
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-219301@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76596&edit=1 ID: 76596 Updated by: krakjoe@php.net Reported by: kevin dot abel dot 0 at gmail dot com Summary: phpdbg does not support display_errors=stderr -Status: Wont fix +Status: Closed Type: Bug Package: phpdbg PHP Version: 7.1.19 -Assigned To: +Assigned To: krakjoe Block user comment: N Private report: N New Comment: The fix for this bug has been committed. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2019-01-11 12:37:13] cmb@php.net It may make sense when running phpdbg -rr, though. ------------------------------------------------------------------------ [2019-01-11 12:01:24] krakjoe@php.net While this may work, in some cases, it doesn't make any sense to redirect errors in a debugger. ------------------------------------------------------------------------ [2018-07-09 02:16:29] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76596&edit=1

« previous php.bugs (#219301) next »