Reply to php directive to make print_r use "\r\n" instead of "\n"?
Posted by yawnmoth on 10/18/06 17:38
print_r uses "\n" to distinguish between subsequent elements of an
array. This is fine unless you're trying to view the resultant file in
something like Notepad. As such, without reimplementing print_r or
doing output buffering, is there a way to make print_r replace "\n"
with "\r\n"? Like some sort of PHP directive that could be specified
in php.ini or something?