28.02.2015, 07:30
Sorry for my bad english, i'm russian.
I created a function in which several arguments that you want to display in text form.
The solution I found, for example:
But, because the exact number to display not foresee, and create a lot of inspections and they concluded - is silly.
It would be so simple..
Curious about how function format .
Can anyone tell me that?
I created a function in which several arguments that you want to display in text form.
The solution I found, for example:
PHP код:
printf ("% d", getarg (i));
PHP код:
printf ("% d,% d ...", getarg (i), getarg (i + 1 ) ...);
PHP код:
printf ("% d", (for (i = 2 ; i <numarg (); i ++) getarg (i)));
// Somewhere in parallel reality
Can anyone tell me that?