如何在使用时插入换行符error_log()
in PHP?
我尝试使用<br>
and \n
,但那些没有用。
添加错误消息时使用双引号。
error_log("This is a two lined message. \nThis is line two.");
应该管用。
error_log('This is a one lined message. \nThis is the same line still.');
不起作用:注意单引号。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)