mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-02 17:28:27 +01:00
0731b47655
With error recovery this is fluid. Using .test for everything.
7 lines
139 B
Plaintext
7 lines
139 B
Plaintext
Invalid variadic function
|
|
-----
|
|
<?php
|
|
function foo(...$foo = []) {}
|
|
-----
|
|
Variadic parameter cannot have a default value from 2:24 to 2:25
|