php - How to call a function with a variable number of parameters which correspond to an array values? -
ok, know sounds weird need make function receive 2 parameters first 1 string , second array (containing strings).
this function call sprintf. first parameter $format
, array correspond various $args
.
how can achieve (if possible)?
thanks!
well want vsprintf() function.
Comments
Post a Comment