Return to Snippet

Revision: 3506
at August 5, 2007 03:53 by micmath


Initial Code
ob_start();
var_dump($my_variable);
$my_string = ob_get_contents();
ob_end_clean();

Initial URL

                                

Initial Description

                                

Initial Title
Dump a variable to a string.

Initial Tags

                                

Initial Language
PHP