/PHP-5.6/ext/standard/tests/strings/ |
H A D | vsprintf_error.phpt | 2 Test vsprintf() function : error conditions 5 /* Prototype : string vsprintf(string $format , array $args) 10 echo "*** Testing vsprintf() : error conditions ***\n"; 18 echo "\n-- Testing vsprintf() function with Zero arguments --\n"; 19 var_dump( vsprintf() ); 22 var_dump( vsprintf($format) ); 25 var_dump( vsprintf($format, $args, $extra_arg) ); 30 *** Testing vsprintf() : error conditions *** 32 -- Testing vsprintf() function with Zero arguments -- 39 Warning: Wrong parameter count for vsprintf() in %s on line %d [all …]
|
H A D | vsprintf_basic3.phpt | 2 Test vsprintf() function : basic functionality - float format 5 /* Prototype : string vsprintf(string $format , array $args) 10 echo "*** Testing vsprintf() : basic functionality - using float format ***\n"; 26 var_dump( vsprintf($format1,$arg1) ); 27 var_dump( vsprintf($format11,$arg1) ); 29 var_dump( vsprintf($format2,$arg2) ); 30 var_dump( vsprintf($format22,$arg2) ); 32 var_dump( vsprintf($format3,$arg3) ); 33 var_dump( vsprintf($format33,$arg3) ); 38 *** Testing vsprintf() : basic functionality - using float format ***
|
H A D | vsprintf_basic9.phpt | 2 Test vsprintf() function : basic functionality - hexadecimal format 5 /* Prototype : string vsprintf(string $format , array $args) 10 echo "*** Testing vsprintf() : basic functionality - using hexadecimal format ***\n"; 26 var_dump( vsprintf($format1,$arg1) ); 27 var_dump( vsprintf($format11,$arg1) ); 29 var_dump( vsprintf($format2,$arg2) ); 30 var_dump( vsprintf($format22,$arg2) ); 32 var_dump( vsprintf($format3,$arg3) ); 33 var_dump( vsprintf($format33,$arg3) ); 38 *** Testing vsprintf() : basic functionality - using hexadecimal format ***
|
H A D | vsprintf_basic2.phpt | 2 Test vsprintf() function : basic functionality - integer format 5 /* Prototype : string vsprintf(string $format , array $args) 11 * Testing vsprintf() : basic functionality - using integer format 14 echo "*** Testing vsprintf() : basic functionality - using integer format ***\n"; 25 var_dump( vsprintf($format1,$arg1) ); 26 var_dump( vsprintf($format2,$arg2) ); 27 var_dump( vsprintf($format3,$arg3) ); 32 *** Testing vsprintf() : basic functionality - using integer format ***
|
H A D | vsprintf_basic8.phpt | 2 Test vsprintf() function : basic functionality - octal format 5 /* Prototype : string vsprintf(string $format , array $args) 10 echo "*** Testing vsprintf() : basic functionality - using octal format ***\n"; 21 var_dump( vsprintf($format1,$arg1) ); 22 var_dump( vsprintf($format2,$arg2) ); 23 var_dump( vsprintf($format3,$arg3) ); 28 *** Testing vsprintf() : basic functionality - using octal format ***
|
H A D | vsprintf_basic4.phpt | 2 Test vsprintf() function : basic functionality - bool format 5 /* Prototype : string vsprintf(string $format , array $args) 10 echo "*** Testing vsprintf() : basic functionality - using bool format ***\n"; 21 var_dump( vsprintf($format1,$arg1) ); 22 var_dump( vsprintf($format2,$arg2) ); 23 var_dump( vsprintf($format3,$arg3) ); 28 *** Testing vsprintf() : basic functionality - using bool format ***
|
H A D | vsprintf_basic5.phpt | 2 Test vsprintf() function : basic functionality - char format 5 /* Prototype : string vsprintf(string $format , array $args) 10 echo "*** Testing vsprintf() : basic functionality - using char format ***\n"; 21 var_dump( vsprintf($format1,$arg1) ); 22 var_dump( vsprintf($format2,$arg2) ); 23 var_dump( vsprintf($format3,$arg3) ); 28 *** Testing vsprintf() : basic functionality - using char format ***
|
H A D | vsprintf_basic6.phpt | 2 Test vsprintf() function : basic functionality - exponential format 5 /* Prototype : string vsprintf(string $format , array $args) 10 echo "*** Testing vsprintf() : basic functionality - using exponential format ***\n"; 21 var_dump( vsprintf($format1,$arg1) ); 22 var_dump( vsprintf($format2,$arg2) ); 23 var_dump( vsprintf($format3,$arg3) ); 28 *** Testing vsprintf() : basic functionality - using exponential format ***
|
H A D | vsprintf_basic1.phpt | 2 Test vsprintf() function : basic functionality - string format 5 /* Prototype : string vsprintf(string $format , array $args) 10 echo "*** Testing vsprintf() : basic functionality - using string format ***\n"; 22 var_dump( vsprintf($format1,$arg1) ); 23 var_dump( vsprintf($format2,$arg2) ); 24 var_dump( vsprintf($format3,$arg3) ); 29 *** Testing vsprintf() : basic functionality - using string format ***
|
H A D | vsprintf_basic7.phpt | 2 Test vsprintf() function : basic functionality - unsigned format 9 /* Prototype : string vsprintf(string $format , aaray $args) 14 echo "*** Testing vsprintf() : basic functionality - using unsigned format ***\n"; 25 var_dump( vsprintf($format1,$arg1) ); 26 var_dump( vsprintf($format2,$arg2) ); 27 var_dump( vsprintf($format3,$arg3) ); 32 *** Testing vsprintf() : basic functionality - using unsigned format ***
|
H A D | vsprintf_basic7_64bit.phpt | 2 Test vsprintf() function : basic functionality - unsigned format 9 /* Prototype : string vsprintf(string $format , aaray $args) 14 echo "*** Testing vsprintf() : basic functionality - using unsigned format ***\n"; 25 var_dump( vsprintf($format1,$arg1) ); 26 var_dump( vsprintf($format2,$arg2) ); 27 var_dump( vsprintf($format3,$arg3) ); 32 *** Testing vsprintf() : basic functionality - using unsigned format ***
|
H A D | vsprintf_variation2.phpt | 2 Test vsprintf() function : usage variations - unexpected values for args argument 5 /* Prototype : string vsprintf(string format, array args) 11 * Test vsprintf() when different unexpected values are passed to 15 echo "*** Testing vsprintf() : with unexpected values for args argument ***\n"; 87 var_dump( vsprintf($format,$value) ); 97 *** Testing vsprintf() : with unexpected values for args argument *** 128 Warning: vsprintf(): Too few arguments in %s on line %d 133 Warning: vsprintf(): Too few arguments in %s on line %d 162 Warning: vsprintf(): Too few arguments in %s on line %d 167 Warning: vsprintf(): Too few arguments in %s on line %d [all …]
|
H A D | vsprintf_variation15.phpt | 2 Test vsprintf() function : usage variations - unsigned formats with unsigned values 9 /* Prototype : string vsprintf(string format, array args) 15 * Test vsprintf() when different unsigned formats and unsigned values 19 echo "*** Testing vsprintf() : unsigned formats and unsigned values ***\n"; 40 // looping to test vsprintf() with different unsigned formats from the above $format array 45 var_dump( vsprintf($format, $args_array[$counter-1]) ); 52 *** Testing vsprintf() : unsigned formats and unsigned values ***
|
H A D | vsprintf_variation15_64bit.phpt | 2 Test vsprintf() function : usage variations - unsigned formats with unsigned values 9 /* Prototype : string vsprintf(string format, array args) 15 * Test vsprintf() when different unsigned formats and unsigned values 19 echo "*** Testing vsprintf() : unsigned formats and unsigned values ***\n"; 40 // looping to test vsprintf() with different unsigned formats from the above $format array 45 var_dump( vsprintf($format, $args_array[$counter-1]) ); 52 *** Testing vsprintf() : unsigned formats and unsigned values ***
|
H A D | vsprintf_variation3.phpt | 2 Test vsprintf() function : usage variations - int formats with int values 5 /* Prototype : string vsprintf(string format, array args) 11 * Test vsprintf() when different int formats and int values are passed to 15 echo "*** Testing vsprintf() : int formats with int values ***\n"; 44 // looping to test vsprintf() with different int formats from the above $format array 49 var_dump( vsprintf($format, $args_array[$counter-1]) ); 57 *** Testing vsprintf() : int formats with int values ***
|
H A D | vsprintf_variation11.phpt | 2 Test vsprintf() function : usage variations - octal formats with octal values 9 /* Prototype : string vsprintf(string format, array args) 15 * Test vsprintf() when different octal formats and octal values are passed to 19 echo "*** Testing vsprintf() : octal formats with octal values ***\n"; 47 // looping to test vsprintf() with different octal formats from the above $formats array 52 var_dump( vsprintf($format, $args_array[$counter-1]) ); 60 *** Testing vsprintf() : octal formats with octal values ***
|
H A D | vsprintf_variation11_64bit.phpt | 2 Test vsprintf() function : usage variations - octal formats with octal values 9 /* Prototype : string vsprintf(string format, array args) 15 * Test vsprintf() when different octal formats and octal values are passed to 19 echo "*** Testing vsprintf() : octal formats with octal values ***\n"; 47 // looping to test vsprintf() with different octal formats from the above $formats array 52 var_dump( vsprintf($format, $args_array[$counter-1]) ); 60 *** Testing vsprintf() : octal formats with octal values ***
|
H A D | vsprintf_variation17.phpt | 2 Test vsprintf() function : usage variations - scientific formats with scientific values 5 /* Prototype : string vsprintf(string format, array args) 11 * Test vsprintf() when different scientific formats and scientific values 15 echo "*** Testing vsprintf() : scientific formats and scientific values ***\n"; 36 // looping to test vsprintf() with different scientific formats from the above $format array 41 var_dump( vsprintf($format, $args_array[$counter-1]) ); 48 *** Testing vsprintf() : scientific formats and scientific values ***
|
H A D | vsprintf_variation5.phpt | 2 Test vsprintf() function : usage variations - float formats with float values 5 /* Prototype : string vsprintf(string format, array args) 11 * Test vsprintf() when different float formats and float values are passed to 15 echo "*** Testing vsprintf() : int formats with float values ***\n"; 44 // looping to test vsprintf() with different float formats from the above $format array 49 var_dump( vsprintf($format, $args_array[$counter-1]) ); 57 *** Testing vsprintf() : int formats with float values ***
|
H A D | vsprintf_variation9.phpt | 2 Test vsprintf() function : usage variations - char formats with char values 5 /* Prototype : string vsprintf(string format, array args) 11 * Test vsprintf() for char formats with an array of chars passed to the function 14 echo "*** Testing vsprintf() : char formats with char values ***\n"; 43 // looping to test vsprintf() with different char formats from the above $format array 48 var_dump( vsprintf($format, $args_array[$counter-1]) ); 56 *** Testing vsprintf() : char formats with char values ***
|
H A D | vsprintf_variation13.phpt | 2 Test vsprintf() function : usage variations - hexa formats with hexa values 9 /* Prototype : string vsprintf(string format, array args) 15 * Test vsprintf() when different hexa formats and hexa values are passed to 19 echo "*** Testing vsprintf() : hexa formats with hexa values ***\n"; 47 // looping to test vsprintf() with different char octal from the above $format array 52 var_dump( vsprintf($format, $args_array[$counter-1]) ); 60 *** Testing vsprintf() : hexa formats with hexa values ***
|
H A D | vsprintf_variation13_64bit.phpt | 2 Test vsprintf() function : usage variations - hexa formats with hexa values 9 /* Prototype : string vsprintf(string format, array args) 15 * Test vsprintf() when different hexa formats and hexa values are passed to 19 echo "*** Testing vsprintf() : hexa formats with hexa values ***\n"; 47 // looping to test vsprintf() with different char octal from the above $format array 52 var_dump( vsprintf($format, $args_array[$counter-1]) ); 60 *** Testing vsprintf() : hexa formats with hexa values ***
|
H A D | vsprintf_variation6.phpt | 2 Test vsprintf() function : usage variations - float formats with non-float values 5 /* Prototype : string vsprintf(string format, array args) 11 * Test vsprintf() when different float formats and non-float values are passed to 15 echo "*** Testing vsprintf() : float formats and non-float values ***\n"; 59 // looping to test vsprintf() with different float formats from the above $format array 64 var_dump( vsprintf($formats, $args) ); 71 *** Testing vsprintf() : float formats and non-float values ***
|
H A D | vsprintf_variation10.phpt | 2 Test vsprintf() function : usage variations - char formats with non-char values 5 /* Prototype : string vsprintf(string format, array args) 11 * Test vsprintf() when different char formats and non-char values are passed to 15 echo "*** Testing vsprintf() : char formats and non-char values ***\n"; 66 // looping to test vsprintf() with different char formats from the above $format array 71 var_dump( vsprintf($formats, $args) ); 78 *** Testing vsprintf() : char formats and non-char values ***
|
H A D | vsprintf_variation7.phpt | 2 Test vsprintf() function : usage variations - string formats with strings 5 /* Prototype : string vsprintf(string format, array args) 11 * Test vsprintf() when different string formats and string values are passed to 15 echo "*** Testing vsprintf() : string formats with strings ***\n"; 58 // looping to test vsprintf() with different string formats from the above $format array 63 var_dump( vsprintf($format, $args_array[$counter-1]) ); 71 *** Testing vsprintf() : string formats with strings ***
|