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

Notepad++总是报错行如何弄

WBOY
Release: 2016-06-13 12:22:15
Original
999 people have browsed it

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template