check php syntax errors before committing changes.
I learned an important and valuable lesson today. Before committing code to a live server, always run: php – l filename.php to check for syntax errors if you cannot view the file beforehand. Enough said.