Skip to content

Commit 8786bf0

Browse files
authored
Merge pull request microsoft#319 from TysonAndre/trailing_comma
Remove TODO for trailing comma in parameter list
2 parents c5e2bf5 + f65ad0c commit 8786bf0

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)