PHP_START |
= |
/ <script\s+[^>]*?language\s*=\s*"php"[^>]*?> | <script\s+[^>]*?language\s*=\s*'php'[^>]*?> | <\?php\d? | <\?(?!xml) /xi |
HTML_INDICATOR |
= |
/<!DOCTYPE html|<(?:html|body|div|p)[> ]/i |
IDENTIFIER |
= |
/[a-z_\x7f-\xFF][a-z0-9_\x7f-\xFF]*/i |
OPERATOR |
= |
/ \.(?!\d)=? | # dot that is not decimal point, string concatenation && | \|\| | # logic :: | -> | => | # scope, member, dictionary \\(?!\n) | # namespace \+\+ | -- | # increment, decrement [,;?:()\[\]{}] | # simple delimiters [-+*\/%&|^]=? | # ordinary math, binary logic, assignment shortcuts [~$] | # whatever =& | # reference assignment [=!]=?=? | <> | # comparison and assignment <<=? | >>=? | [<>]=? # comparison and shift /x |