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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -