変数確認

変数内容を 画面と error_log に出力

//変数をダンプ
var_dump($params);
//バッファの内容を変数に代入
$ob_content = ob_get_contents();
// バッファの終了
ob_end_clean();
error_log($ob_content);

変数内容を error_log のみに出力

error_log( print_r($params, true) );

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2022-05-20 (金) 11:22:32 (707d)