1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-27 04:14:44 +01:00
PHP-Parser/test/code/prettyPrinter/expr/namedArgs.test
Nikita Popov 98f7f39d1c Add named argument support
Not adding any explicit FPPP support, as I don't think add/remove
of names can be handled any better than full reformatting.
2020-08-09 17:37:44 +02:00

9 lines
108 B
Plaintext

Named arguments
-----
<?php
foo(a: $b, c: $d);
bar(class: 0);
-----
!!php7
foo(a: $b, c: $d);
bar(class: 0);