Thursday 30 August 2007, 11:57
Quick php5 pre-migration check
By Geoffrey - Geekeries - Permalink
If you're wondering how much of a hassle it would be to migrate your app / codebase to php5, try the following command line (after having installed the php5-cli package of course):
find . -name "*.php" -exec /usr/bin/php5 -l {} \; | grep -v 'No syntax errors'
It'll show you all the files with syntax errors in it.
no comment
This post's comments feed