私はこの配列を持っています
Array
(
[0] => posts Object
(
[title] => test1
[dbh] => DataBase Object
(
[dbh] => PDO Object ( )
)
)
[1] => posts Object
(
[title] => test1
[dbh] => DataBase Object
(
[dbh] => PDO Object ( )
)
)
[2] => posts Object
(
[title] => test2
[dbh] => DataBase Object
(
[dbh] => PDO Object ( )
)
)
)
オブジェクトを文字列に変換できないため、array_unique() を使用できません