1、使用日志文件打印到后台; 2、使用浏览器的console脚步,打印到浏览器,方便调试; echo "<script>console.info($password)</script>"; 3、使用echo打印到页面;