At first I, copied the C/C++ definition and changed the name attribute. Doing so highlighted the php file but incorrectly. I then added the correct lexer index as listed below, but all text in php file was black.
Does any one have SCV working with php file?
CODE
<Language Name="php" Extensions="php,php4,inc" FontName="Lucida Console" FontSize="9" TabWidth="4" TabsAsSpaces="True" >
<Style Index="118" LexerIndex="SCE_HPHP_DEFAULT"/>
<Style Index="34" Foreground="BLACK" LexerIndex="STYLE_BRACELIGHT"/>
<Style Index="32" Foreground="YELLOW" LexerIndex="STYLE_BRACEBAD"/>
<Style Index="119" Foreground="GREEN" LexerIndex="SCE_HPHP_HSTRING"/>
<Style Index="120" Foreground="GREEN" LexerIndex="SCE_HPHP_SIMPLESTRING"/>
<Style Index="121" Foreground="BLUE" LexerIndex="SCE_HPHP_WORD"/>
<Style Index="122" Foreground="BROWN" LexerIndex="SCE_HPHP_NUMBER"/>
<Style Index="123" Foreground="RED" LexerIndex="SCE_HPHP_VARIABLE"/>
<Style Index="124" Foreground="GREEN" LexerIndex="SCE_HPHP_COMMENT"/>
<Style Index="125" Foreground="GREEN" LexerIndex="SCE_HPHP_COMMENTLINE"/>
<Style Index="126" Foreground="BLUE" LexerIndex="SCE_HPHP_HSTRING_VARIABLE"/>
<Style Index="127" Foreground="BLACK" LexerIndex="SCE_HPHP_OPERATOR"/>
</Language>