I\'ve added some simple inoremap commands to my .vimrc to help with parens and brackets completion, but I only want them to apply to php files.
inoremap
.vimrc
Use autocmd FileType:
autocmd FileType
autocmd FileType php,c,java inoremap ( ()i