php ctags

--regex-php=/^[ \t]*[(private| public|static)( \t)]*function[ \t]+([A-Za-z0-9_]+)[ \t]*\(/\1/f, function, functions/
 --regex-php=/^[ \t]*[(private| public|static)]+[ \t]+\$([A-Za-z0-9_]+)[ \t]*/\1/p, property, properties/
 --regex-php=/^[ \t]*(const)[ \t]+([A-Za-z0-9_]+)[ \t]*/\2/d, const, constants/
 --regex-PHP='/abstract class ([^ ]*)/\1/c/' \
 --regex-PHP='/interface ([^ ]*)/\1/c/' \
 --regex-PHP='/(public |static |abstract |protected |private )+function ([^ (]*)/\2/f/'])

转载保留链接

原文地址:https://www.cnblogs.com/xwblog/p/2506146.html