[General]
Name = PHP
DefaultExtension = php
Groups =
NumOfPages = 0
CaseSensitive = true
Family = 2

[Extra tags]

List = apache_lookup_uri
DefaultAttrType = string

apache_lookup_uri = filename

[Extra rules]
ScriptName = php
ScriptTagBorders = <? ?>, <* *>

ScriptRegExp = (<\?.+\?>) | (<\*.+\*>)


Block variations = 1
Block1 = %controlstructure% %expr% { %statement% }
Block2 = %controlstructure%  %expr% %statement%
Block5 = else { %statement% }
Block6 = else %statement% 
Block9 = do { %statememt% } while %expr%
    
ControlStructures = while, if, elseif, for, foreach, switch, declare
Expr = (%text%)
Statement = %text%;
