PHP
Sintaxes completas representadas por
Diagrama Sintático - Diagrama de Sintaxe
(
ver convenções
) ou
BNF
(ver
convenções
).
Diagrama Sintático - Diagrama de Sintaxe
|
Diagrama Sintático - Diagrama de Sintaxe e BNF
|
BNF
1
.
PHP_script
2
.
Class_def
3
.
Class_mod
4
.
Interface_def
5
.
Member
6
.
Method
7
.
Signature
8
.
Method_mod
9
.
Formal_parameter
10
.
Type
11
.
Name_with_default
12
.
Attribute
13
.
Attr_mod
14
.
Statement
15
.
If
16
.
While
17
.
Do
18
.
For
19
.
Foreach
20
.
Switch
21
.
Switch_case
22
.
Break
23
.
Continue
24
.
Return
25
.
Static_declaration
26
.
Global
27
.
Declare
28
.
Directive
29
.
Try
30
.
Catch
31
.
Throw
32
.
Eval_expr
33
.
Nop
34
.
Expr
35
.
Literal
36
.
Assignment
37
.
Op_assignment
38
.
List_assignment
39
.
List_element
40
.
Nested_list_elements
41
.
Cast
42
.
Unary_op
43
.
Bin_op
44
.
Conditional_expr
45
.
Ignore_errors
46
.
Constant
47
.
Instanceof
48
.
Variable
49
.
Variable_name
50
.
Reflection
51
.
Target
52
.
Pre_op
53
.
Post_op
54
.
Array
55
.
Array_elem
56
.
Method_invocation
57
.
Method_name
58
.
Actual_parameter
59
.
New
60
.
Class_name
61
.
Commented_node
62
.
Identifier
63
.
Source_rep