Main program: PHP_Program
PHP syntax:
Count | Terminals: | |
PHP_EndOfFile: End of file | ||
Count | Statistics(*) | Tokens: |
7,632 | (none | all) | PHP_Body: (PHP_MissingEnd | PHP_NormalBlock) |
| PHP_MissingEnd: PHP_Element* PHP_EndOfFile | ||
7,632 | 2.23 all | | PHP_NormalBlock: PHP_Element* PHP_EndTag |
16,993 | (all) | PHP_Element: (Perl_StatementOrComment) |
PHP_IfBlock: PHP_IfCondition PHP_Entry* PHP_IfElse PHP_Entry* PHP_EndIf | ||
| PHP_EndIf: PHP_StartTag '}' PHP_EndTag | ||
| PHP_IfCondition: PHP_StartTag Perl_Statement* "if" '(' Perl_Expression ')' '{' PHP_EndTag | ||
| PHP_IfElse: PHP_StartTag '}' "else" '{' PHP_EndTag | ||
2,088 | 28% 1.00 | PHP_Program: [HTML_DocType] PHP_Entry* |
7,632 | all | | PHP_EndTag: "?>" |
46,087 | (all | none | none) | | PHP_Entry: (HTML_Program | PHP_Section | PHP_IfBlock) |
7,632 | all all | | PHP_Section: PHP_StartTag PHP_Body |
7,632 | all all | | PHP_StartTag: "<?" ["php"] |
Terminals = 1 (instances=0)
Tokens = 13 (instances=103,328)
(*) Statistics are shown in the same order as the Tokens.
Percentages are rounded; 'all' and 'none' mean 100% and 0% before rounding.
For lists, it shows the average number of occurrences, excluding empty lists.