How to update PHP syntax file for vim? I notice the syntax file for PHP for vim is quite out-dated.
Does anyone know where is these syntax file located in Mac so I can do the upgrade?
Solved myself,
here are the steps :-


locate vim | grep php 
turn up is this file /usr/share/vim/vim73/syntax/php.vim
sudo mv /usr/share/vim/vim73/syntax/php.vim /usr/share/vim/vim73/autoload/phpcomplete.vim.orig as backup
download latest php vim file from http://www.vim.org
untar the tarball
copy the php.vim to /usr/share/vim/vim73/syntax/php.vim