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
file_put_contents('php://stderr', print_r("hello ", TRUE));
转自: http://stackoverflow.com/questions/6079492/how-to-print-a-debug-log