Added PHP mode, cleaned up whitespace