我正在尝试从数组对象中获取 ['text'] 值。
当我尝试 print_r($item) 时,我得到这个作为输出:
ToDo Object
(
[data:private] => Array
(
[id] => 128
[user_id] => 6785
[view_stat] => 0
[position] => 12
[text] => 3rd try
[dt_added] => 2012-07-17 04:29:08
[tick] => 0
[temp_view] => 6785
[viewer] => 6785
)
)
如何在php中获取[文本]值?谢谢