New function: sm_print_r()
authortassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 3 Jul 2003 14:14:48 +0000 (14:14 +0000)
committertassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 3 Jul 2003 14:14:48 +0000 (14:14 +0000)
commit50cc40fe0544df6d560d5d1640d7141ed0b18ee0
tree717f4a7b0564cfd58e94f1af1806c107fce8762b
parent5c300c60ad0679960c4d9001f3637d4cd7ce04c5
New function: sm_print_r()
This is intended to be a debugging function.  Ever wanted to do a print_r, but found that some of the values were "eaten" by your browser's parser because they had <> in them?  Use this function instead.  It runs htmlentities() on the output of print_r() AND as a bonus wraps the entire thing in <pre> and </pre> tags.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5199 7612ce4b-ef26-0410-bec9-ea0150e637f0
functions/strings.php