PHP Sanity Check
问题 I am looking for applications or methods for performing sanity checks of php code. I hope to to avoid finding out about the coding mistakes the hard way, but instead find them before publishing the website. display_errors = on and similar run-time methods find the problems too late. So far I have found the following ways, which I think are not thorough enough: php_check_syntax() from within php php -l from the command line ioncube php encoder netbeans and eclipse as editors What better way is