Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #!/bin/bash
  2. SRC_DIR="your/source/directory"
  3.  
  4. PHPFLAGS="-d display_errors=1 -d html_errors=0 -d error_reporting=4095"
  5. find "$SRC_DIR" -type f -iname '*.php' -exec php "$PHPFLAGS" -l {} \;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement