Taglist uses exuberant ctags, which supports many languages including PHP. I use vim on a daily basis to edit PHP files. Often classes and functions have PHPDoc and some like to use the words ‘class’ or ‘function’ in their comments. Fair enough, but ctags regex strings ignores that lines may have a preceding ‘*’ or ‘//’ and thus create tags of funny classes and functions. In some cases browsing large files of PHP source code with taglist is pointless.
The solution to this is writing your own ctags configuration file (~/.ctags) and letting ctags know what regex strings You want to tag your PHP files with:
-f ./tags
--langmap=php:+.inc
-h '.php.inc'
-R
--totals=yes
--tag-relative=yes
--PHP-kinds=+cf-v
--regex-PHP
--regex-PHP=/(^|^[^*]+[[:blank:]])class[[:blank:]]+([[:alpha:]][[:alnum:]_]*)/\2/c/
--regex-PHP=/(^|^[^*]+[[:blank:]])function[[:blank:]]+&?[[:blank:]]*([[:alpha:]][[:alnum:]_]*)/\2/f/