note 72794 added to function.print-r
| From: | magic_toaster at yahoo dot com | Date: | Thu, 01 Feb 2007 22:31:44 +0000 |
| Subject: | note 72794 added to function.print-r | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-122494@lists.php.net to get a copy of this message | ||
Going along with what SaWey @ localdomain said, if you want some decent output, you might want to
write a small function that looks like this:
spit( $your_crud )
{
echo "<pre>\n";
print_r( $your_crud );
echo "\n</pre><br />\n";
}
It's marginally easier to type out than print_r, but more importantly, you get a better output.
Plus, spit look cooler.
----
Server IP: 64.71.164.2
Probable Submitter: 207.138.31.101
----
Manual Page -- http://www.php.net/manual/en/function.print-r.php
Edit -- https://master.php.net/note/edit/72794
Del: integrated -- https://master.php.net/note/delete/72794/integrated
Del: useless -- https://master.php.net/note/delete/72794/useless
Del: bad code -- https://master.php.net/note/delete/72794/bad+code
Del: spam -- https://master.php.net/note/delete/72794/spam
Del: non-english -- https://master.php.net/note/delete/72794/non-english
Del: in docs -- https://master.php.net/note/delete/72794/in+docs
Del: other reasons-- https://master.php.net/note/delete/72794
Reject -- https://master.php.net/note/reject/72794
Search -- https://master.php.net/manage/user-notes.php