2 tips – Check PHP syntax and SVN move multiple files

This is what I have in my .bash_profile. It check for all the PHP files, recursively, for any syntax error.

alias php_check_syntax='find . -type f -name \*.php -exec php -l {} \;'

This other tip is to move multiple files in SVN. You can make it a script if you want.

for i in *.test.php ; do svn move $i tests/ ; done

Comments (0)

› No comments yet.

Leave a Reply

Allowed Tags - You may use these HTML tags and attributes in your comment.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Pingbacks (0)

› No pingbacks yet.