> >   Is there a way to "emulate" var_dump(), print_r() so I can write it to a
> > file and when I open this file the information are shown like if I really
> > did a print_r();?
> 
>       ob_start();
>       print_r($doo);
>       $dah = ob_get_contents();
>       ob_end_clean();
>       echo $dah;

and just a fyi, var_export() exists in PHP 4.2.0.

Regards,
Philip


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to