Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- SRC_DIR="your/source/directory"
- PHPFLAGS="-d display_errors=1 -d html_errors=0 -d error_reporting=4095"
- find "$SRC_DIR" -type f -iname '*.php' -exec php "$PHPFLAGS" -l {} \;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement