text/x-php;application/x-php;text/x-php-source;application/x-php-source
*.php;*.php3;*.php4;*.phtml
#
/*
*/
\\((\\|"|n|t|\$|r)|[0-7]{1,3}|x[0-9a-fA-F]{1,2})
[$]+[a-zA-Z_][a-zA-Z0-9_]*
(\[|\])
{(?=\$)
}
\${
}
"
"
'
'
\\['\\]
`
`
(<<<)\s?([a-zA-Z_][a-zA-Z0-9_]*)
^(\%{2@start});?$
(<<<)\s?'([a-zA-Z_][a-zA-Z0-9_]*)'
^(\%{2@start});?$
\\['\\]
[a-zA-Z_][a-zA-Z0-9_]*
abstract
and
as
break
case
catch
class
clone
const
continue
declare
default
die
do
echo
else
elseif
empty
enddeclare
endfor
endforeach
endif
endswitch
endwhile
eval
exit
extends
final
finally
for
foreach
function
global
goto
if
implements
include
include_once
instanceof
insteadof
interface
isset
list
namespace
new
or
print
private
protected
public
require
require_once
return
static
switch
throw
trait
try
unset
use
var
while
xor
yield
doubleval
floatval
gettype
intval
print_r
serialize
settype
strval
unserialize
var_dump
var_export
[-.~^@,;:/%|\=\+\*\!\?&<>()]
array
bool
boolean
callable
double
float
int
integer
numeric
object
resource
string
unset
(?i)\b
null
(?i)\b
false
true
(?<![\w\.])
([0-9]+[Ee][+-]?[0-9]+ |
([0-9]*\.[0-9]+ | [0-9]+\.[0-9]*)([Ee][+-]?[0-9]+)?)
(?![\w\.])
(?<![\w\.])
[+-]?([1-9][0-9]*|0)
(?![\w\.])
(?<![\w\.])
[+-]?0[0-7]+
(?![\w\.])
(?<![\w\.])
[+-]?0x[0-9a-fA-F]+
(?![\w\.])
<([?](php)?)
[?]>