PHP调试xdebug与xhprof

仅作备忘

php调试方式: https://blog.csdn.net/kikajack/article/details/81014804

PHP 后端开发之调试方法: https://blog.csdn.net/f786587718/article/details/90603514

//输出日志内容到文件
$fp = fopen('./php.log', '测试');
fwrite($fp, print_r($content, true));
fclose($fp);
 
//输出对象到文件,追加方式写入
file_put_contents("/php.log", var_export($objects,true), FILE_APPEND);

基于互联网精神,在注明出处的前提下本站文章可自由转载!

本文链接:https://ranjuan.cn/php调试xdebug与xhprof/

赞赏

微信赞赏支付宝赞赏

uniapp-h5-loading-error
交换机级联与堆叠的区别
centos系统基本操作(备忘)