We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5e2bf5 + f65ad0c commit 8786bf0Copy full SHA for 8786bf0
tests/cases/parser/functions13.php
@@ -1,5 +1,5 @@
1
<?php
2
-// TODO add error checking for this case
+// Allowed in php 8: https://wiki.php.net/rfc/trailing_comma_in_parameter_list
3
function foobar ($a, MyName ...$b,) {
4
5
}
0 commit comments