PHP: How to print a debug log?

file_put_contents('php://stderr', print_r("hello ", TRUE));

 

转自: http://stackoverflow.com/questions/6079492/how-to-print-a-debug-log

posted @ 2016-12-13 15:40  圆旭  阅读(224)  评论(0编辑  收藏  举报