I need to convert this array
Array ( 
[0] => stdClass Object 
     ( [title] => primo ) 
[1] => stdClass Object 
     ( [title] => secondo )) 
to
Array ( 
[primo] => primo
[secondo] => secondo ) 
Tried different options, including typecast, still not found the correct solution
 
     
     
     
     
    