I'm looking for a way to pass a dynamic number of args to sprintf.
So instead of
$a = "a";
$b = "b";
$c = "c";
sprintf($format, $a, $b, $c)
one could
$args = array("a", "b", "c");
sprintf($format, $args)
It seems like sprintf should support this natively, but it doesn't.
Is there a way to accomplish this?