我有一個數組,它看起來像這樣,但更長的時間:PHP解析陣列陣列
Array
(
[0] => stdClass Object
(
[text] => @TwitterUser. Lorem Ipsum
[id_str] => 60768083157061632
[user] => stdClass Object
(
[profile_image_url] => http://a0.twimg.com/sticky/default_profile_images/default_profile_3_normal.png
[screen_name] => MyDude
我要打印此數組中的每個鍵只有特定的值。因此,父密鑰[0]
到[whatever]
中的密鑰[text]
和[screen_name]
的所有值。我覺得我應該像$foreach
語句那樣做,但不能完全弄清楚如何讓我的機器通過每個數字父鍵中的子數組向下看。
任何幫助將不勝感激!
你張大帥哥之前做的檢查!謝謝 – 2011-05-10 06:03:33