/PHP-5.6/ext/standard/tests/strings/ |
H A D | vfprintf_error2.phpt | 2 Test vfprintf() function : error conditions (less than expected arguments) 9 /* Prototype : int vfprintf(resource stream, string format, array args) 19 echo "\n-- Testing vfprintf() function with less than expected no. of arguments --\n"; 21 var_dump( vfprintf($fp, $format) ); 22 var_dump( vfprintf( $fp ) ); 23 var_dump( vfprintf() ); 38 -- Testing vfprintf() function with less than expected no. of arguments -- 40 Warning: Wrong parameter count for vfprintf() in %s on line %d 43 Warning: Wrong parameter count for vfprintf() in %s on line %d 46 Warning: Wrong parameter count for vfprintf() in %s on line %d
|
H A D | vfprintf_basic3.phpt | 2 Test vfprintf() function : basic functionality - float format 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 10 echo "*** Testing vfprintf() : basic functionality - using float format ***\n"; 31 vfprintf($fp, $format1,$arg1); 34 vfprintf($fp,$format11,$arg1); 37 vfprintf($fp,$format2,$arg2); 40 vfprintf($fp,$format22,$arg2); 43 vfprintf($fp,$format3,$arg3); 46 vfprintf($fp, $format33,$arg3); 56 *** Testing vfprintf() : basic functionality - using float format ***
|
H A D | vfprintf_basic9.phpt | 2 Test vfprintf) function : basic functionality - hexadecimal format 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 10 echo "*** Testing vfprintf) : basic functionality - using hexadecimal format ***\n"; 31 vfprintf($fp, $format1, $arg1); 33 vfprintf($fp, $format11, $arg1); 36 vfprintf($fp, $format2, $arg2); 38 vfprintf($fp, $format22, $arg2); 41 vfprintf($fp, $format3, $arg3); 43 vfprintf($fp, $format33, $arg3); 53 *** Testing vfprintf) : basic functionality - using hexadecimal format ***
|
H A D | vfprintf_basic2.phpt | 2 Test vfprintf() function : basic functionality - integer format 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 11 * Testing vfprintf() : basic functionality - using integer format 14 echo "*** Testing vfprintf() : basic functionality - using integer format ***\n"; 30 vfprintf($fp, $format1, $arg1); 33 vfprintf($fp, $format2, $arg2); 36 vfprintf($fp, $format3, $arg3); 47 *** Testing vfprintf() : basic functionality - using integer format ***
|
H A D | vfprintf_error4.phpt | 2 Test vfprintf() function : error conditions (various conditions) 9 /* Prototype : int vfprintf(resource stream, string format, array args) 19 echo "\n-- Testing vfprintf() function with other strangeties --\n"; 20 var_dump( vfprintf( 'foo', 'bar', array( 'baz' ) ) ); 21 var_dump( vfprintf( $fp, 'Foo %$c-0202Sd', array( 2 ) ) ); 36 -- Testing vfprintf() function with other strangeties -- 38 Warning: vfprintf() expects parameter 1 to be resource, string given in %s on line %d 41 Warning: vfprintf(): Argument number must be greater than zero in %s on line %d
|
H A D | vfprintf_error1.phpt | 2 Test vfprintf() function : error conditions (more than expected arguments) 9 /* Prototype : int vfprintf(resource stream, string format, array args) 19 echo "\n-- Testing vfprintf() function with more than expected no. of arguments --\n"; 23 var_dump( vfprintf( $fp, $format, $args, $extra_arg ) ); 24 var_dump( vfprintf( $fp, "Foo %d", array(6), "bar" ) ); 39 -- Testing vfprintf() function with more than expected no. of arguments -- 41 Warning: Wrong parameter count for vfprintf() in %s on line %d 44 Warning: Wrong parameter count for vfprintf() in %s on line %d
|
H A D | vfprintf_basic8.phpt | 2 Test vfprintf() function : basic functionality - octal format 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 10 echo "*** Testing vfprintf() : basic functionality - using octal format ***\n"; 26 vfprintf($fp, $format1,$arg1); 29 vfprintf($fp, $format2,$arg2); 32 vfprintf($fp, $format3,$arg3); 42 *** Testing vfprintf() : basic functionality - using octal format ***
|
H A D | vfprintf_basic4.phpt | 2 Test vfprintf() function : basic functionality - bool format 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 10 echo "*** Testing vfprintf() : basic functionality - using bool format ***\n"; 26 vfprintf($fp, $format1,$arg1); 29 vfprintf($fp, $format2,$arg2); 32 vfprintf($fp, $format3,$arg3); 42 *** Testing vfprintf() : basic functionality - using bool format ***
|
H A D | vfprintf_basic5.phpt | 2 Test vfprintf() function : basic functionality - char format 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 10 echo "*** Testing vfprintf() : basic functionality - using char format ***\n"; 26 vfprintf($fp, $format1,$arg1); 29 vfprintf($fp, $format2,$arg2); 32 vfprintf($fp, $format3,$arg3); 42 *** Testing vfprintf() : basic functionality - using char format ***
|
H A D | vfprintf_basic6.phpt | 2 Test vfprintf() function : basic functionality - exponential format 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 11 echo "*** Testing vfprintf() : basic functionality - using exponential format ***\n"; 27 vfprintf($fp, $format1,$arg1); 30 vfprintf($fp, $format2,$arg2); 33 vfprintf($fp, $format3,$arg3); 44 *** Testing vfprintf() : basic functionality - using exponential format ***
|
H A D | vfprintf_basic1.phpt | 2 Test vfprintf() function : basic functionality - string format 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 10 echo "*** Testing vfprintf() : basic functionality - using string format ***\n"; 27 $result = vfprintf($fp, $format1, $arg1); 29 $result = vfprintf($fp, $format2, $arg2); 31 $result = vfprintf($fp, $format3, $arg3); 42 *** Testing vfprintf() : basic functionality - using string format ***
|
H A D | vfprintf_basic7.phpt | 2 Test vfprintf() function : basic functionality - unsigned format 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 14 echo "*** Testing vfprintf() : basic functionality - using unsigned format ***\n"; 30 vfprintf($fp, $format1,$arg1); 33 vfprintf($fp, $format2,$arg2); 36 vfprintf($fp, $format3,$arg3); 47 *** Testing vfprintf() : basic functionality - using unsigned format ***
|
H A D | vfprintf_basic7_64bit.phpt | 2 Test vfprintf() function : basic functionality - unsigned format 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 14 echo "*** Testing vfprintf() : basic functionality - using unsigned format ***\n"; 30 vfprintf($fp, $format1,$arg1); 33 vfprintf($fp, $format2,$arg2); 36 vfprintf($fp, $format3,$arg3); 47 *** Testing vfprintf() : basic functionality - using unsigned format ***
|
H A D | vfprintf_variation21.phpt | 2 Test vfprintf() function : usage variations - unexpected values for args argument 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 11 * Test vfprintf() when different unexpected values are passed to 15 echo "*** Testing vfprintf() : with unexpected values for args argument ***\n"; 93 vfprintf($fp, $format, $value); 107 *** Testing vfprintf() : with unexpected values for args argument *** 109 Warning: vfprintf(): Too few arguments in %s on line %d 111 Warning: vfprintf(): Too few arguments in %s on line %d 113 Warning: vfprintf(): Too few arguments in %s on line %d 115 Warning: vfprintf(): Too few arguments in %s on line %d [all …]
|
H A D | vfprintf_error3.phpt | 2 Test vfprintf() function : error conditions (wrong argument types) 9 /* Prototype : int vfprintf(resource stream, string format, array args) 19 echo "\n-- Testing vfprintf() function with wrong variable types as argument --\n"; 20 var_dump( vfprintf( $fp, array( 'foo %d', 'bar %s' ), 3.55552 ) ); 27 var_dump( vfprintf( $fp, "Foo %y fake", "not available" ) ); 47 -- Testing vfprintf() function with wrong variable types as argument --
|
H A D | vfprintf_variation11.phpt | 2 Test vfprintf() function : usage variations - octal formats with octal values 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 15 * Test vfprintf() when different octal formats and octal values are passed to 19 echo "*** Testing vfprintf() : octal formats with octal values ***\n"; 52 // looping to test vfprintf() with different octal formats from the above $formats array 57 vfprintf($fp, $format, $args_array[$counter-1]); 70 *** Testing vfprintf() : octal formats with octal values ***
|
H A D | vfprintf_variation11_64bit.phpt | 2 Test vfprintf() function : usage variations - octal formats with octal values 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 15 * Test vfprintf() when different octal formats and octal values are passed to 19 echo "*** Testing vfprintf() : octal formats with octal values ***\n"; 52 // looping to test vfprintf() with different octal formats from the above $formats array 57 vfprintf($fp, $format, $args_array[$counter-1]); 70 *** Testing vfprintf() : octal formats with octal values ***
|
H A D | vfprintf_variation15.phpt | 2 Test vfprintf() function : usage variations - unsigned formats with unsigned values 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 15 * Test vfprintf() when different unsigned formats and unsigned values 19 echo "*** Testing vfprintf() : unsigned formats and unsigned values ***\n"; 45 // looping to test vfprintf() with different unsigned formats from the above $format array 50 vfprintf($fp, $format, $args_array[$counter-1]); 63 *** Testing vfprintf() : unsigned formats and unsigned values ***
|
H A D | vfprintf_variation15_64bit.phpt | 2 Test vfprintf() function : usage variations - unsigned formats with unsigned values 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 15 * Test vfprintf() when different unsigned formats and unsigned values 19 echo "*** Testing vfprintf() : unsigned formats and unsigned values ***\n"; 45 // looping to test vfprintf() with different unsigned formats from the above $format array 50 vfprintf($fp, $format, $args_array[$counter-1]); 63 *** Testing vfprintf() : unsigned formats and unsigned values ***
|
H A D | vfprintf_variation3.phpt | 2 Test vfprintf() function : usage variations - int formats with int values 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 11 * Test vfprintf() when different int formats and int values are passed to 15 echo "*** Testing vfprintf() : int formats with int values ***\n"; 44 // looping to test vfprintf() with different int formats from the above $format array 55 vfprintf($fp, $format, $args_array[$counter-1]); 68 *** Testing vfprintf() : int formats with int values ***
|
H A D | vfprintf_variation9.phpt | 2 Test vfprintf() function : usage variations - char formats with char values 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 11 * Test vfprintf() for char formats with an array of chars passed to the function 14 echo "*** Testing vfprintf() : char formats with char values ***\n"; 48 // looping to test vfprintf() with different char formats from the above $format array 53 vfprintf($fp, $format, $args_array[$counter-1]); 66 *** Testing vfprintf() : char formats with char values ***
|
H A D | vfprintf_basic.phpt | 2 Test vfprintf() function : basic functionality 9 /* Prototype : int vfprintf(resource stream, string format, array args) 18 $length = vfprintf( $fp, $format, $args ); 25 echo "*** Testing vfprintf() : basic functionality ***\n"; 31 // Test vfprintf() 54 *** Testing vfprintf() : basic functionality ***
|
H A D | vfprintf_variation17.phpt | 2 Test vfprintf() function : usage variations - scientific formats with scientific values 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 11 * Test vfprintf() when different scientific formats and scientific values 15 echo "*** Testing vfprintf() : scientific formats and scientific values ***\n"; 41 // looping to test vfprintf() with different scientific formats from the above $format array 46 vfprintf($fp, $format, $args_array[$counter-1]); 58 *** Testing vfprintf() : scientific formats and scientific values ***
|
H A D | vfprintf_variation13.phpt | 2 Test vfprintf() function : usage variations - hexa formats with hexa values 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 15 * Test vfprintf() when different hexa formats and hexa values are passed to 19 echo "*** Testing vfprintf() : hexa formats with hexa values ***\n"; 52 // looping to test vfprintf() with different char octal from the above $format array 57 vfprintf($fp, $format, $args_array[$counter-1]); 70 *** Testing vfprintf() : hexa formats with hexa values ***
|
H A D | vfprintf_variation13_64bit.phpt | 2 Test vfprintf() function : usage variations - hexa formats with hexa values 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 15 * Test vfprintf() when different hexa formats and hexa values are passed to 19 echo "*** Testing vfprintf() : hexa formats with hexa values ***\n"; 52 // looping to test vfprintf() with different char octal from the above $format array 57 vfprintf($fp, $format, $args_array[$counter-1]); 70 *** Testing vfprintf() : hexa formats with hexa values ***
|