Код: Выделить всё
array
0 => int 5
1 => int 6
Код: Выделить всё
array
0 =>
object(stdClass)[43]
public 'id' => int 1
1 =>
object(stdClass)[46]
public 'id' => int 3
2 =>
object(stdClass)[43]
public 'id' => int 5
3 =>
object(stdClass)[46]
public 'id' => int 6
4 =>
object(stdClass)[46]
public 'id' => int 7
Подробнее здесь: https://stackoverflow.com/questions/166 ... in-another
Мобильная версия