Re: print_r's feature
| From: | Denis Arh | Date: | Thu, 25 Jul 2002 08:13:45 +0000 |
| Subject: | Re: print_r's feature | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86174@lists.php.net to get a copy of this message | ||
Yeah, i know this... but... ok... ;)
wouldn't be simplier like this:
print_r($foo, true);
i know how to do it, it was just a suggestion...
"Marco Glatz" <MarcoGlatz@Dose.com> wrote in message
news:C1A8D5312515D411908C0050BAB3C06F0FA1A0@GATEWAY...
>
> > How about adding an extra second parameter to print_r
> > function, that would
> > enable HTML output, with <br />s and maybe bold values?
>
> how about this ?
>
> <pre>
>
> <?php print_r($foo); ?>
>
> </pre>
>
>
> mg