SHARE
TWEET

Untitled

a guest Oct 17th, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 {} \;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top