variadic

UK /vɛɹiˈædɪk/ US /vɛɹiˈædɪk/
adj 2noun 1

Definitions

adj

1

Taking a variable number of arguments; especially, taking arbitrarily many arguments.

C's printf is one of the most widely used variadic functions.

There are some functions and predicates which we tend to think of as being able to take any number of parameters – of being of variable arity or variadic.

2

Belonging to a variadic function.

each variadic argument

noun

1

A function that takes a variable number of arguments.

PHP 5.6 introduced variadics that explicitly accept a variable number of parameters.

Your note

not saved
0 chars