beginCommand < endCommand > beginInstruction <? endInstruction ?> beginVariable $ endVariable :;(){}=[]+-/.,*!?%&><\ firstString " secondString ' firstSingleLineComment // secondSingleLineComment # beginFirstMultiLineComment /* endFirstMultiLineComment */ beginSecondMultiLineComment <!-- endSecondMultiLineComment --> functionDefinition ^\s*(static)?\s*(private|protected|public)?\s*(static)?\s*function\s+.*\n?\s*{ removeFromFunction function keywordsCaseSensitive recolourKeywordIfAlreadyColoured keywords and or xor __FILE__ exception php_user_filter __LINE__ array as break case cfunction class const continue declare default die do echo else elseif empty enddeclare endfor endforeach endif endswitch endwhile eval exit extends for foreach function global if include include_once isset list new old_function print require require_once return static switch unset use var while __FUNCTION__ __CLASS__ __METHOD__