+1 vote
in PHP by
Explain PHP variable length argument function

1 Answer

0 votes
by

PHP supports variable length argument function. It means you can pass 0, 1 or n number of arguments in function. To do this, you need to use 3 ellipses (dots) before the argument name. The 3 dot concept is implemented for variable length argument since PHP 5.6.

Related questions

0 votes
asked Jun 6, 2020 in PHP by Robindeniel
+1 vote
asked May 11, 2022 in PHP by sharadyadav1986
...