VIM PHP autocomplete
Lets add PHP autocomplete feature. In your $HOME/.vimrc file add the following command
太神奇了
autocmd FileType php set omnifunc=phpcomplete#CompletePHPOnce done, Open any PHP file and within thetag, writemysql_cand pressCtrl-x Ctrl-o, and here is what happens