getClassNames by obj php code example
Example: get class name from object php
// create an object
$bar = new foo();
// external call
echo "Its name is " , get_class($bar) , "\n";
// create an object
$bar = new foo();
// external call
echo "Its name is " , get_class($bar) , "\n";