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});?$
abstract
and
as
break
case
catch
class
const
continue
default
die
do
echo
else
elseif
endfor
endforeach
endswitch
endwhile
extends
for
global
final
foreach
function
if
implements
import
include
include_once
instanceof
interface
list
namespace
new
or
print
private
protected
public
require
require_once
return
static
switch
throw
try
var
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)?)
[?]>