object(Term)#32 (10) {
["term_id":protected]=> int(11589)
["session_id":protected]=> string(5) "11275"
["site_id":protected]=> int(9999999)
["data":protected]=> array(62) {
["term_id"]=> string(5) "11589"
["term_name"]=> string(9) "Full Year"
["start_date"]=> string(10) "2013-09-02"
["end_date"]=> string(10) "2014-06-14"
}
}
我从 var_dump 获取这些数据,我想访问“start_date”。这个怎么做?
比方说
var_dump($term);
我做了:
var_dump($term["start_date"]); and I get a NULL.