1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-11 08:59:46 +01:00
PHP-Parser/test/code/parser/stmt/function/variadicDefaultValue.test

7 lines
139 B
Plaintext
Raw Normal View History

Invalid variadic function
-----
<?php
function foo(...$foo = []) {}
-----
2015-04-18 21:20:45 +02:00
Variadic parameter cannot have a default value from 2:24 to 2:25