mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-04 02:07:59 +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(
|
|
)
|
|
)
|
|
)
|
|
) |