Home
last modified time | relevance | path

Searched refs:vprintf (Results 1 – 25 of 46) sorted by relevance

12

/PHP-5.5/ext/standard/tests/strings/
H A Dvprintf_error.phpt2 Test vprintf() function : error conditions
5 /* Prototype : int vprintf(string $format , array $args)
10 echo "*** Testing vprintf() : error conditions ***\n";
18 echo "\n-- Testing vprintf() function with Zero arguments --\n";
19 var_dump( vprintf() );
22 var_dump( vprintf($format) );
25 var_dump( vprintf($format, $args, $extra_arg) );
30 *** Testing vprintf() : error conditions ***
32 -- Testing vprintf() function with Zero arguments --
39 Warning: Wrong parameter count for vprintf() in %s on line %d
[all …]
H A Dvprintf_basic3.phpt2 Test vprintf() function : basic functionality - float format
5 /* Prototype : string vprintf(string $format , array $args)
10 echo "*** Testing vprintf() : basic functionality - using float format ***\n";
26 $result = vprintf($format1,$arg1);
30 $result = vprintf($format11,$arg1);
34 $result = vprintf($format2,$arg2);
38 $result = vprintf($format22,$arg2);
42 $result = vprintf($format3,$arg3);
46 $result = vprintf($format33,$arg3);
53 *** Testing vprintf() : basic functionality - using float format ***
H A Dvprintf_basic9.phpt2 Test vprintf() function : basic functionality - hexadecimal format
5 /* Prototype : string vprintf(string $format , array $args)
10 echo "*** Testing vprintf() : basic functionality - using hexadecimal format ***\n";
26 $result = vprintf($format1,$arg1);
29 $result = vprintf($format11,$arg1);
33 $result = vprintf($format2,$arg2);
36 $result = vprintf($format22,$arg2);
40 $result = vprintf($format3,$arg3);echo "\n";
42 $result = vprintf($format33,$arg3);
49 *** Testing vprintf() : basic functionality - using hexadecimal format ***
H A Dvprintf_basic2.phpt2 Test vprintf() function : basic functionality - integer format
5 /* Prototype : string vprintf(string $format , array $args)
11 * Testing vprintf() : basic functionality - using integer format
14 echo "*** Testing vprintf() : basic functionality - using integer format ***\n";
25 $result = vprintf($format1,$arg1);
29 $result = vprintf($format2,$arg2);
33 $result = vprintf($format3,$arg3);
40 *** Testing vprintf() : basic functionality - using integer format ***
H A Dvprintf_basic8.phpt2 Test vprintf() function : basic functionality - octal format
5 /* Prototype : string vprintf(string $format , array $args)
10 echo "*** Testing vprintf() : basic functionality - using octal format ***\n";
21 $result = vprintf($format1,$arg1);
25 $result = vprintf($format2,$arg2);
29 $result = vprintf($format3,$arg3);
36 *** Testing vprintf() : basic functionality - using octal format ***
H A Dvprintf_basic4.phpt2 Test vprintf() function : basic functionality - bool format
5 /* Prototype : string vprintf(string $format , array $args)
10 echo "*** Testing vprintf() : basic functionality - using bool format ***\n";
21 $result = vprintf($format1,$arg1);
25 $result = vprintf($format2,$arg2);
29 $result = vprintf($format3,$arg3);
36 *** Testing vprintf() : basic functionality - using bool format ***
H A Dvprintf_basic5.phpt2 Test vprintf() function : basic functionality - char format
5 /* Prototype : string vprintf(string $format , array $args)
10 echo "*** Testing vprintf() : basic functionality - using char format ***\n";
21 $result = vprintf($format1,$arg1);
25 $result = vprintf($format2,$arg2);
29 $result = vprintf($format3,$arg3);
36 *** Testing vprintf() : basic functionality - using char format ***
H A Dvprintf_basic6.phpt2 Test vprintf() function : basic functionality - exponential format
5 /* Prototype : string vprintf(string $format , array $args)
10 echo "*** Testing vprintf() : basic functionality - using exponential format ***\n";
21 $result = vprintf($format1,$arg1);
25 $result = vprintf($format2,$arg2);
29 $result = vprintf($format3,$arg3);
36 *** Testing vprintf() : basic functionality - using exponential format ***
H A Dvprintf_basic1.phpt2 Test vprintf() function : basic functionality - string format
5 /* Prototype : int vprintf(string $format , array $args)
10 echo "*** Testing vprintf() : basic functionality - using string format ***\n";
22 $result = vprintf($format1,$arg1);
25 $result = vprintf($format2,$arg2);
28 $result = vprintf($format3,$arg3);
35 *** Testing vprintf() : basic functionality - using string format ***
H A Dvprintf_basic7.phpt2 Test vprintf() function : basic functionality - unsigned format
9 /* Prototype : string vprintf(string $format , aaray $args)
14 echo "*** Testing vprintf() : basic functionality - using unsigned format ***\n";
25 $result = vprintf($format1,$arg1);
29 $result = vprintf($format2,$arg2);
33 $result = vprintf($format3,$arg3);
40 *** Testing vprintf() : basic functionality - using unsigned format ***
H A Dvprintf_basic7_64bit.phpt2 Test vprintf() function : basic functionality - unsigned format
9 /* Prototype : string vprintf(string $format , aaray $args)
14 echo "*** Testing vprintf() : basic functionality - using unsigned format ***\n";
25 $result = vprintf($format1,$arg1);
29 $result = vprintf($format2,$arg2);
33 $result = vprintf($format3,$arg3);
39 *** Testing vprintf() : basic functionality - using unsigned format ***
H A Dvprintf_variation2.phpt2 Test vprintf() function : usage variations - unexpected values for args argument
5 /* Prototype : string vprintf(string format, array args)
11 * Test vprintf() when different unexpected values are passed to
15 echo "*** Testing vprintf() : with unexpected values for args argument ***\n";
87 $result = vprintf($format,$value);
99 *** Testing vprintf() : with unexpected values for args argument ***
139 Warning: vprintf(): Too few arguments in %s on line %d
145 Warning: vprintf(): Too few arguments in %s on line %d
183 Warning: vprintf(): Too few arguments in %s on line %d
189 Warning: vprintf(): Too few arguments in %s on line %d
[all …]
H A Dvprintf_variation15.phpt2 Test vprintf() function : usage variations - unsigned formats with unsigned values
9 /* Prototype : string vprintf(string format, array args)
15 * Test vprintf() when different unsigned formats and unsigned values
19 echo "*** Testing vprintf() : unsigned formats and unsigned values ***\n";
40 // looping to test vprintf() with different unsigned formats from the above $format array
45 $result = vprintf($format, $args_array[$counter-1]);
54 *** Testing vprintf() : unsigned formats and unsigned values ***
H A Dvprintf_variation15_64bit.phpt2 Test vprintf() function : usage variations - unsigned formats with unsigned values
9 /* Prototype : string vprintf(string format, array args)
15 * Test vprintf() when different unsigned formats and unsigned values
19 echo "*** Testing vprintf() : unsigned formats and unsigned values ***\n";
40 // looping to test vprintf() with different unsigned formats from the above $format array
45 $result = vprintf($format, $args_array[$counter-1]);
54 *** Testing vprintf() : unsigned formats and unsigned values ***
H A Dvprintf_variation3.phpt2 Test vprintf() function : usage variations - int formats with int values
5 /* Prototype : string vprintf(string format, array args)
11 * Test vprintf() when different int formats and int values are passed to
15 echo "*** Testing vprintf() : int formats with int values ***\n";
44 // looping to test vprintf() with different int formats from the above $format array
49 $result = vprintf($format, $args_array[$counter-1]);
58 *** Testing vprintf() : int formats with int values ***
H A Dvprintf_variation9.phpt2 Test vprintf() function : usage variations - char formats with char values
5 /* Prototype : string vprintf(string format, array args)
11 * Test vprintf() for char formats with an array of chars passed to the function
14 echo "*** Testing vprintf() : char formats with char values ***\n";
43 // looping to test vprintf() with different char formats from the above $format array
48 $result = vprintf($format, $args_array[$counter-1]);
57 *** Testing vprintf() : char formats with char values ***
H A Dvprintf_variation11.phpt2 Test vprintf() function : usage variations - octal formats with octal values
9 /* Prototype : string vprintf(string format, array args)
15 * Test vprintf() when different octal formats and octal values are passed to
19 echo "*** Testing vprintf() : octal formats with octal values ***\n";
47 // looping to test vprintf() with different octal formats from the above $formats array
52 $result = vprintf($format, $args_array[$counter-1]);
61 *** Testing vprintf() : octal formats with octal values ***
H A Dvprintf_variation11_64bit.phpt2 Test vprintf() function : usage variations - octal formats with octal values
9 /* Prototype : string vprintf(string format, array args)
15 * Test vprintf() when different octal formats and octal values are passed to
19 echo "*** Testing vprintf() : octal formats with octal values ***\n";
47 // looping to test vprintf() with different octal formats from the above $formats array
52 $result = vprintf($format, $args_array[$counter-1]);
61 *** Testing vprintf() : octal formats with octal values ***
H A Dvprintf_variation5.phpt2 Test vprintf() function : usage variations - float formats with float values
5 /* Prototype : string vprintf(string format, array args)
11 * Test vprintf() when different float formats and float values are passed to
15 echo "*** Testing vprintf() : int formats with float values ***\n";
44 // looping to test vprintf() with different float formats from the above $format array
49 $result = vprintf($format, $args_array[$counter-1]);
58 *** Testing vprintf() : int formats with float values ***
H A Dvprintf_variation13.phpt2 Test vprintf() function : usage variations - hexa formats with hexa values
9 /* Prototype : string vprintf(string format, array args)
15 * Test vprintf() when different hexa formats and hexa values are passed to
19 echo "*** Testing vprintf() : hexa formats with hexa values ***\n";
47 // looping to test vprintf() with different char octal from the above $format array
52 $result = vprintf($format, $args_array[$counter-1]);
61 *** Testing vprintf() : hexa formats with hexa values ***
H A Dvprintf_variation13_64bit.phpt2 Test vprintf() function : usage variations - hexa formats with hexa values
9 /* Prototype : string vprintf(string format, array args)
15 * Test vprintf() when different hexa formats and hexa values are passed to
19 echo "*** Testing vprintf() : hexa formats with hexa values ***\n";
47 // looping to test vprintf() with different char octal from the above $format array
52 $result = vprintf($format, $args_array[$counter-1]);
61 *** Testing vprintf() : hexa formats with hexa values ***
H A Dvprintf_variation6.phpt2 Test vprintf() function : usage variations - float formats with non-float values
5 /* Prototype : string vprintf(string format, array args)
11 * Test vprintf() when different float formats and non-float values are passed to
15 echo "*** Testing vprintf() : float formats and non-float values ***\n";
59 // looping to test vprintf() with different float formats from the above $format array
64 $result = vprintf($formats, $args);
73 *** Testing vprintf() : float formats and non-float values ***
H A Dvprintf_variation7.phpt2 Test vprintf() function : usage variations - string formats with strings
5 /* Prototype : string vprintf(string format, array args)
11 * Test vprintf() when different string formats and string values are passed to
15 echo "*** Testing vprintf() : string formats with strings ***\n";
58 // looping to test vprintf() with different string formats from the above $format array
63 $result = vprintf($format, $args_array[$counter-1]);
72 *** Testing vprintf() : string formats with strings ***
H A Dvprintf_variation8.phpt2 Test vprintf() function : usage variations - string formats with non-string values
5 /* Prototype : string vprintf(string format, array args)
11 * Test vprintf() when different string formats and non-string values are passed to
17 echo "*** Testing vprintf() : string formats and non-string values ***\n";
62 // looping to test vprintf() with different string formats from the above $format array
67 $result = vprintf($formats, $args);
76 *** Testing vprintf() : string formats and non-string values ***
H A Dvprintf_variation16_64bit.phpt2 Test vprintf() function : usage variations - unsigned formats with signed and other types of values
9 /* Prototype : string vprintf(string format, array args)
15 * Test vprintf() when different unsigned formats and signed values and other types of values
19 echo "*** Testing vprintf() : unsigned formats and signed & other types of values ***\n";
63 // looping to test vprintf() with different unsigned formats from the above $format array
68 $result = vprintf($formats, $args);
77 *** Testing vprintf() : unsigned formats and signed & other types of values ***

Completed in 31 milliseconds

12