2 /* Prototype : string vprintf(string $format , array $args)
3 * Description: Output a formatted string
4 * Source code: ext/standard/formatted_print.c
7 echo "*** Testing vprintf() : basic functionality - using bool format ***\n";
9 // Initialise all required variables
13 $format3 = "%b %b %b";
15 $arg2 = array(TRUE,FALSE);
16 $arg3 = array(TRUE,FALSE,TRUE);
18 $result = vprintf($format1,$arg1);
22 $result = vprintf($format2,$arg2);
26 $result = vprintf($format3,$arg3);