techblog.simoncpu.com
eW91IGhhdmUgbG9zdCB0aGUgZ2FtZTsgYWxzbywgYjAwYmllcyAoLlkuKQ==
Wednesday, June 04, 2008
Unix/Linux Tip: Syntax check your PHP files
If you wish to syntax check (lint) all the PHP files in your current directory, simply do:
for i in `ls *.php`; do
php -l $i
done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment