mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-14 01:57:26 +01:00
27 lines
533 B
Plaintext
27 lines
533 B
Plaintext
|
Trailing comma in use list
|
||
|
-----
|
||
|
<?php
|
||
|
function() use($a,) {};
|
||
|
-----
|
||
|
!!php7
|
||
|
array(
|
||
|
0: Stmt_Expression(
|
||
|
expr: Expr_Closure(
|
||
|
static: false
|
||
|
byRef: false
|
||
|
params: array(
|
||
|
)
|
||
|
uses: array(
|
||
|
0: Expr_ClosureUse(
|
||
|
var: Expr_Variable(
|
||
|
name: a
|
||
|
)
|
||
|
byRef: false
|
||
|
)
|
||
|
)
|
||
|
returnType: null
|
||
|
stmts: array(
|
||
|
)
|
||
|
)
|
||
|
)
|
||
|
)
|