2
It is possible to analyze (check) a PHP code to determine the "quality" of the organization and detect potential problems?
2
It is possible to analyze (check) a PHP code to determine the "quality" of the organization and detect potential problems?
2
PHP already provides this type of tool per command line, one can test the "code quality" per command line:
php -l <fileName>
An example in Windows would be:
D:\wamp\php\php.exe -l "D:\wamp\www\arquivo.php"
In addition to this tool there are other ways to do this as it is answered in Soen:
There is also a simple tool called Phplint and can be tested online, the problem is that for newer versions of PHP and phpDocumentor it has proven outdated, but is still useful for simpler testing.
Browser other questions tagged php
You are not signed in. Login or sign up in order to post.
Before giving a negative vote understand the community model, read: en.stackoverflow.com/help/self-answer and blog.stackoverflow.com/2012/05/Encyclopedia-stack-exchange and if you have any other reason to downvote please justify.
– Guilherme Nascimento