Argument

In programming, the term "argument" is used for content passed when making a function or procedure call. Functions can use several arguments. Arguments can be the results of other calculations. We differentiate "arguments" (the input data) from "parameters" (what the function receives). In PHP we have:

function_name('argument', $argument, ...);
function_name($x + 4, $y * 2); // 2 calculated arguments are sent.

And in SPIP, for tags and filters:

#TAG{argument, argument, ...}
[(#TAG|filter{argument, argument})]

Author Mark Baber Published : Updated : 12/03/23

Translations : English, français