Other Ways for Converting PHP Object to Array · objectToArray($obj) { · $arr = array(); · foreach ($obj as $k => $v) · $a[$k] = (is_array($v) || ...
確定! 回上一頁