PHP - print all properties of an object I have an unknown object in php page. How can I print/echo it, so I can see what properties/values do it have? What about functions? Is there any way to know what functions an object have? or These are the same things you use for arrays too. These will show protected and private properties of objects with PHP 5. Static class members will not be shown accor..