Skip to content

Instantly share code, notes, and snippets.

@rubdottocom
Created May 8, 2012 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubdottocom/2633679 to your computer and use it in GitHub Desktop.
Save rubdottocom/2633679 to your computer and use it in GitHub Desktop.
PHP: Complex object var_dump
public function str_var_dump($object)
{
ob_start();
var_dump($object);
$dump = ob_get_clean();
return $dump;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment