--- exuberant-ctags-5.7-multiline/php.c	2009-07-07 17:34:27.000000000 +0200
+++ exuberant-ctags-5.7-members/php.c	2009-07-07 17:37:29.000000000 +0200
@@ -74,8 +74,8 @@
 		"\\2", "d,define,constant definitions", NULL);
 	addTagRegex(language, "(^[ \t]*)(public[ \t]+|protected[ \t]+|private[ \t]+)?(static[ \t]+)?function[ \t]+&?[ \t]*([" ALPHA "_][" ALNUM "_]*)",
 		"\\4", "f,function,functions", NULL);
-	addTagRegex(language, "(^|[ \t])\\$([" ALPHA "_][" ALNUM "_]*)[ \t]*=",
-		"\\2", "v,variable,variables", NULL);
+	addTagRegex(language, "(^[ \t]*)(var[ \t]+|public[ \t]+|protected[ \t]+|private[ \t]+)?(static[ \t]+)?\\$([" ALPHA "_][" ALNUM "_]*)[ \t]*=",
+		"\\4", "v,variable,variables", NULL);
 
 	/* function regex is covered by PHP regex */
 	addTagRegex (language, "(^|[ \t])([A-Za-z0-9_]+)[ \t]*[=:][ \t]*function[ \t]*\\(",

