开发者

Is there something like PyFlakes for PHP? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. 开发者_高级运维

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

Pretty straight forward question. I'm quite happy with my simple text editor but sometimes it'd be nice to run something like PyFlakes on my code before running to check for any obvious errors like undeclared variables or syntax errors.


The previous answer is wrong - the question is neither a duplicated nor does the given command do what "pyflakes" does.

"pyflakes" is a python project that integrates with Vim, and allows you to check for interpreter errors in your python code live (as you are coding).

However, i am not aware of any existing vim extension which replicates the functionality of pyflakes for PHP code.


Just run this:

 php -l filename
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜