Created
May 8, 2012 08:53
-
-
Save rubdottocom/2633679 to your computer and use it in GitHub Desktop.
PHP: Complex object var_dump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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