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});?$
[a-zA-Z_][a-zA-Z0-9_]*
abstract
and
as
break
case
catch
class
const
continue
default
die
do
doubleval
echo
else
elseif
empty
endfor
endforeach
endif
endswitch
endwhile
extends
final
floatval
for
foreach
function
gettype
global
if
implements
import
include
include_once
instanceof
interface
intval
list
namespace
new
or
print
print_r
private
protected
public
require
require_once
return
serialize
settype
static
strval
switch
throw
try
unserialize
unset
var
var_dump
var_export
while
xor
[-.~^@,;:/%|\=\+\*\!\?&<>()]
array
bool
boolean
double
float
int
integer
object
real
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)?)
[?]>