Skip to content

Commit f65ad0c

Browse files
committed
Remove TODO for trailing comma in parameter list
https://wiki.php.net/rfc/trailing_comma_in_parameter_list is likely to pass, and makes that obsolete
1 parent c5e2bf5 commit f65ad0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cases/parser/functions13.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// TODO add error checking for this case
2+
// Allowed in php 8: https://wiki.php.net/rfc/trailing_comma_in_parameter_list
33
function foobar ($a, MyName ...$b,) {
44

55
}

0 commit comments

Comments
 (0)