ctags -R --languages=php .

# Download Exuberant Ctags from http://ctags.sourceforge.net/

# cd to "ctags-5.8.tar.gz" directory
tar xzvf ctags-5.8.tar.gz
cd ctags-5.8
sudo ./configure
sudo make
sudo make install

# Add 
export PATH="/usr/local/bin:$PATH"
# to "~/.bash_profile/

# Restart terminal and type "which ctags"
# It should show "/usr/local/bin/ctags", NOT "/usr/bin/ctags"

#== end instructions found on http://adamyoung.net/Exuberant-Ctags-OS-X ==

# More on http://www.thegeekstuff.com/2009/04/ctags-taglist-vi-vim-editor-as-sourece-code-browser/