【PHP】型態轉成object. 有時要把型態轉成object可用 方法一: $obj = (object) array('1' => 'foo'); 方法二:$a = new stdclass; $a->abc = 'abc';
確定! 回上一頁