I am working with a 3-rd party library and it makes some random call like this:
$consumer = getConsumer();
And I don't know what are the values inside the $consumer variable I tried to do something like this:
echo '<p>consumer: '.$consumer.'</p>';
but that just crashed the page :) What is the real way for me to see what objects and values are in this $consumer object? And whats the best way to extract them?
Thanks!