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
There may be a better way to do it, but this should work:
autocmd FileType php call Inoremaps() fu! Inoremaps() inoremap ... endfu