Skip to content

Instantly share code, notes, and snippets.

@cwaring
Created June 6, 2010 20:31
Show Gist options
  • Save cwaring/427868 to your computer and use it in GitHub Desktop.
Save cwaring/427868 to your computer and use it in GitHub Desktop.
ctags --langmap=php:.engine.inc.module.theme.php --php-kinds=cdfi --languages=php --recurse \
--exclude="\.git" \
--totals=yes \
--tag-relative=yes \
--regex-PHP='/abstract\s+class\s+([^ ]+)/\1/c/' \
--regex-PHP='/interface\s+([^ ]+)/\1/c/' \
--regex-PHP='/(public\s+|static\s+|abstract\s+|protected\s+|private\s+)function\s+\&?\s*([^ (]+)/\2/f/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment