4 min read
How to Make print_r Output Readable (Browser, Logs and CLI)
print_r output turning into one long line? Here's how to keep it readable in the browser, in log files and on the command line, and what to do when the dump is thousands of lines long.
Read article