Right now, I have this code where $obj_arr maybe contain array and an object.
$obj_arr
$obj_temp = array ($obj_identity, $arr_user, $obj_locale, $arr_qu
Since PHP 5.5 you can use MyAction::class statement, so you can get a class name without class initialization
MyAction::class
Use get_class to get the class name of an object.