Home  >  Article  >  Backend Development  >  Notepad++总是报错行如何弄

Notepad++总是报错行如何弄

WBOY
WBOYOriginal
2016-06-13 12:22:15964browse

Notepad++总是报错行怎么弄?
代码是PHP,基本的语法标点符号错误,服务器说在281行,但在Notepad++里其实在280行。
它总给少一行,怎么弄?

------解决思路----------------------
这不是很正常吗?

<?php<br />$a = 1<br />echo $a;<br />
php 一定是说在第3行遇到了以外的变量
而实际是第二行少了行结束符
------解决思路----------------------
很正常。因为发现错误是在错误之后的。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn