DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Sean has posted 5 posts at DZone. View Full User Profile

Parsing Errors On Command Line

01.17.2008
| 5926 views |
  • submit to reddit
        Get PHP parsing errors on command line. Useful for those extreme cases where you can't get them to print to the browser.

find . -name \*.php \! -exec php -l {} \;