How do I "print" all of a page (object) values and keys?

With an array, i can do print_r and see all its content:

<?php echo '<pre>'; print_r($array); echo '</pre>'; ?>

How can I view all the content of a page / object in similar fashion?

print_r($page->toArray());

Great! Thank you!! Sorry for the newbie question!

You are welcome. :slight_smile: