In PHP you can do:
print_r($var) or vardump($var)
print_r($var)
vardump($var)
which prints \"human-readible\" information about variable.
Is there equ
One approach I lean on a lot is this:
logger.debug "OBJECT: #{an_object.to_yaml}"
Easy to read, although it can get a little unwieldy for large objects.