Using PHP, I have to parse a string coming to my code in a format like this:
object(stdClass)(4) {
["Title"]=> string(5) "Fruit"
["Color"]=> string(6) "yellow"
["Name"]=> string(6) "banana"
["id"]=> int(3)
}
I'm sure there's a simple solution, but I can't seem to find it... how to get the Color and Name?
Thanks so much.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…