这里整理一个代码编写调试过程中遇到的问题,错误信息如下:Parse error: syntax error, unexpected $end in D:\xampp\htdocs\guestBook\guestBook.php on line 330。查看程序的第330行,也就是代码的最后一行,发现...
weixin_40008870的博客1.使用命令行检查php语法错误:$php -l t.phpt.php代码:echo 'this is a' test file';?>运行 php -l php之后:Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in t.php on line 2将修改...