We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03d7156 commit 9029c40Copy full SHA for 9029c40
src/var-dumper.php
@@ -30,6 +30,9 @@
30
$varCloner->setMaxItems(500);
31
$varCloner->setMaxString($maxStringWidth);
32
33
+ // Send output to 'php://stderr' instead of 'php://stdout' to avoid breaking the output of the main script on debug
34
+ CliDumper::$defaultOutput = 'php://stderr';
35
+
36
$cliDumper = new CliDumper(null, 'UTF-8', AbstractDumper::DUMP_COMMA_SEPARATOR);
37
$cliDumper->setMaxStringWidth($maxStringWidth);
38
$cliDumper->setIndentPad(' '); // Classic style
0 commit comments