How does phpstorm support php code in html, but it keeps reporting errors now?

WBOY
Release: 2016-10-17 09:30:15
Original
2104 people have browsed it

How does phpstorm support php code in html, but it keeps reporting errors now?

Reply content:

How does phpstorm support php code in html, but it keeps reporting errors now?

Writing PHP code in JS will definitely report an error, but writing it in HTML will not.
Or if you feel uncomfortable, you can directly lower the error level.
How does phpstorm support php code in html, but it keeps reporting errors now?

Move the pointer to None and there will be no error.

Make sure:

When writing PHP code in HTML, your file extension should end with.phpto be recognized!

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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!