I have some array object value like this :
object(stdClass)#32 (1) {
["0"]=> object(stdClass)#33 (2) {
["plan_type"]=> string(5) "offer"
["plan_id"]=> string(4) "7395"
}
}
I want to get the value of plan_type
from that object. How could I do that without looping ?