Should it be a boolean value, or something a bit more descriptive/flexible?

print_r($foo,'html');
print_r($foo,'xml');
$output = print_r($foo,'return');

Monte


Denis Arh wrote:
> 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" <[EMAIL PROTECTED]> wrote in message
> C1A8D5312515D411908C0050BAB3C06F0FA1A0@GATEWAY">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
> 
> 
> 
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to