概要
色々書くのが、面倒なので簡単な方法を調べました。
ソース
<?php
error_log(print_r($h, true)."\n", 3, 'c:/tmp/aaa.log');
参考
http://unoh.github.io/2007/05/10/php-logging-to-text-files.html
http://jp.php.net/manual/ja/function.error-log.php
More than 5 years have passed since last update.
色々書くのが、面倒なので簡単な方法を調べました。
<?php
error_log(print_r($h, true)."\n", 3, 'c:/tmp/aaa.log');
http://unoh.github.io/2007/05/10/php-logging-to-text-files.html
http://jp.php.net/manual/ja/function.error-log.php
Register as a new user and use Qiita more conveniently