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 kno
var_dump($obj);
If you want more info you can use a ReflectionClass:
http://www.phpro.org/manual/language.oop5.reflection.html