我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

PHP中的跟踪语句

In C#/.NET, I can use Trace.Write or Debug.Write to output application specific diagnostics. What would be the equivalent in PHP? echo is outputting to my web page which I don't want.

You could write data to the error_log using error_log() Via the second argument you can select the type of logging you want, such as file logging, system logging or even email.

近期文章

  • 查找每周php的开始日期
  • 当没有找到数据时设置为null
  • 重定向php发布回复客户端
  • 安装Android Studio出现的错误
  • 各位大佬,我想问下这个问题怎样用python解决QAQ?
  • 在windows环境下使用自己的数据集跑faster rcnn遇到'NoneType' object is subscriptable问题(tensorflow)
  • 循迹小车的停止程序编写原理
  • 各位大佬,我想问下怎样用python解决这个问题哇QAQ?
  • 在PHP中将XML响应转换为数组
  • 用于进行2 sql更新查询的多维数组
  • 如何从帐户获取Facebook状态
  • 请记住只有在同一页面时滚动位置
  • ATK4自动完成问题
  • 用户输入字段可以更好地使用DIV或仅计算公式的网页表单? [关闭]
  • JSON解码子数组
  • Laravel4:文件上传
  • 如何检查数组是否存在数组中的值以及是否采用相应的数据进行处理
  • PHP嵌套数组在$ _SESSION中
  • $ http angularjs在回调时显示错误
  • 这个for循环有问题

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华