Skip to content

Commit

Permalink
Replace print_r with var_dump in detailed trace:w
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Maynard committed Jan 21, 2025
1 parent a7eac51 commit 02f2371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StackTraceDumperExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public function returnStackTraceAsString(): string

public function returnStackTraceAsArrayString(): string
{
return '<pre>' . print_r(debug_backtrace(), true) . '<.pre>' . PHP_EOL;
return '<pre>' . var_dump(debug_backtrace(), true) . '<.pre>' . PHP_EOL;
}
}

0 comments on commit 02f2371

Please sign in to comment.