2011-11-27 11:20:35 +01:00
|
|
|
Declare
|
|
|
|
-----
|
|
|
|
<?php
|
|
|
|
|
2015-12-07 12:12:00 +01:00
|
|
|
declare (X='Y');
|
|
|
|
|
2011-11-27 11:20:35 +01:00
|
|
|
declare (A='B', C='D') {}
|
|
|
|
|
|
|
|
declare (A='B', C='D'):
|
|
|
|
enddeclare;
|
|
|
|
-----
|
|
|
|
array(
|
|
|
|
0: Stmt_Declare(
|
2015-12-07 12:12:00 +01:00
|
|
|
declares: array(
|
|
|
|
0: Stmt_DeclareDeclare(
|
2017-04-28 19:09:39 +02:00
|
|
|
key: Identifier(
|
|
|
|
name: X
|
|
|
|
)
|
2015-12-07 12:12:00 +01:00
|
|
|
value: Scalar_String(
|
|
|
|
value: Y
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
stmts: null
|
|
|
|
)
|
|
|
|
1: Stmt_Declare(
|
2011-11-27 11:20:35 +01:00
|
|
|
declares: array(
|
|
|
|
0: Stmt_DeclareDeclare(
|
2017-04-28 19:09:39 +02:00
|
|
|
key: Identifier(
|
|
|
|
name: A
|
|
|
|
)
|
2011-11-27 11:20:35 +01:00
|
|
|
value: Scalar_String(
|
|
|
|
value: B
|
|
|
|
)
|
|
|
|
)
|
|
|
|
1: Stmt_DeclareDeclare(
|
2017-04-28 19:09:39 +02:00
|
|
|
key: Identifier(
|
|
|
|
name: C
|
|
|
|
)
|
2011-11-27 11:20:35 +01:00
|
|
|
value: Scalar_String(
|
|
|
|
value: D
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
stmts: array(
|
|
|
|
)
|
|
|
|
)
|
2015-12-07 12:12:00 +01:00
|
|
|
2: Stmt_Declare(
|
2011-11-27 11:20:35 +01:00
|
|
|
declares: array(
|
|
|
|
0: Stmt_DeclareDeclare(
|
2017-04-28 19:09:39 +02:00
|
|
|
key: Identifier(
|
|
|
|
name: A
|
|
|
|
)
|
2011-11-27 11:20:35 +01:00
|
|
|
value: Scalar_String(
|
|
|
|
value: B
|
|
|
|
)
|
|
|
|
)
|
|
|
|
1: Stmt_DeclareDeclare(
|
2017-04-28 19:09:39 +02:00
|
|
|
key: Identifier(
|
|
|
|
name: C
|
|
|
|
)
|
2011-11-27 11:20:35 +01:00
|
|
|
value: Scalar_String(
|
|
|
|
value: D
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
stmts: array(
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|