We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46405c4 commit 64d827dCopy full SHA for 64d827d
framework/utils/CVarDumper.php
@@ -60,7 +60,7 @@ public static function dumpAsString($var,$depth=10,$highlight=false)
60
if($highlight)
61
{
62
$result=highlight_string("<?php\n".self::$_output,true);
63
- self::$_output=preg_replace('/<\\?php<br \\/>/','',$result,1);
+ self::$_output=preg_replace('/<\\?php(<br \\/>|\\n)/','',$result,1);
64
}
65
return self::$_output;
66
0 commit comments