patch from Christoph Frick pasted here - http://blog.bitflux.ch/archive/2004/04/15/ctags_for_php.html - allows to work with php5
Created attachment 86539 [details, diff] ctags-5.5.4-php5.patch
if it will be accepted and included in ebuild, 'php' USE flag is supposed to be added
Created attachment 87794 [details, diff] 'const' keyword support added I've just added 'const' keyword support
Hi, I'm not interested in commiting a patch against ctags-5.5.4, as we now have ctags-5.6 in the tree. Would you mind verifying that this patch works as intended against 5.6, or if not, submitting an updated patch? Or confirming if this patch is even needed anymore?
Created attachment 108116 [details, diff] PHP5 patch freshly from ctags' SVN repository The patch has been freshly obtained from the SVN repository using: svn diff --notice-ancestry https://ctags.svn.sourceforge.net/svnroot/ctags/tags/Ctags-5_6/php.c https://ctags.svn.sourceforge.net/svnroot/ctags/trunk/php.c > files/ctags-5.6-php5.patch I've patched it into the 5.6 ebuild and it works as expected for me (I'm seeing PHP5 class methods) both for PHP5 source files and PHP4 source files.
This patch is included in dev-util/ctags-5.6-r1, which should hit your local sometime in the next few hours. Thanks for the report.