var_dump()
This function can get a object and dump that.
for example:
var_dump('hello') $other = 'the other value' var_dump($other)
output:
'hello' 'the other value'