Obtenha valor do objeto stdclass

// Directly
$obj->variable;
  
// Through Array
$array = get_object_vars($obj);
RedBredren