|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-12-10 00:29 UTC] bwoebi@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: bwoebi
[2015-12-10 00:29 UTC] bwoebi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 13:00:01 2025 UTC |
Description: ------------ Noninteractive phpdbg mode should be as close to php interpreter as possible. Currently it merges all output from executed process into stdout. This is correct for interactive mode, but undesirable in -qrr (non-interactive) mode. Test script: --------------- <?php $err = fopen('php://stderr', 'w+'); $out = fopen('php://stdout', 'w+'); fwrite($out, "stdout a\n"); fwrite($err, "stderr a\n"); fwrite($out, "stdout b\n"); Expected result: ---------------- phpdbg -qrr test.php > /dev/null should output stderr a phpdbg -qrr test.php 2> /dev/null should output stdout a stdout b Actual result: -------------- phpdbg -qrr test.php > /dev/null outputs nothing phpdbg -qrr test.php 2> /dev/null should output stdout a stderr a stdout b