/PHP-5.3/ext/standard/tests/strings/ |
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"; 17 $format = "format"; 32 *** Testing vsprintf() : basic functionality - using unsigned format ***
|
H A D | vprintf_variation5.phpt | 5 /* Prototype : string vprintf(string format, array args) 12 * the '$format' and '$args' arguments of the function 30 // Arrays of float values for the format defined in $format. 31 // Each sub array contains float values which correspond to each format string in $format 44 // looping to test vprintf() with different float formats from the above $format array 47 foreach($formats as $format) { 49 $result = vprintf($format, $args_array[$counter-1]);
|
H A D | vsprintf_variation5.phpt | 5 /* Prototype : string vsprintf(string format, array args) 12 * the '$format' and '$args' arguments of the function 30 // Arrays of float values for the format defined in $format. 31 // Each sub array contains float values which correspond to each format string in $format 44 // looping to test vsprintf() with different float formats from the above $format array 47 foreach($formats as $format) { 49 var_dump( vsprintf($format, $args_array[$counter-1]) );
|
H A D | vsprintf_variation17.phpt | 5 /* Prototype : string vsprintf(string format, array args) 12 * are passed to the '$format' and '$args' arguments of the function 26 // Arrays of scientific values for the format defined in $format. 27 // Each sub array contains scientific values which correspond to each format string in $format 36 // looping to test vsprintf() with different scientific formats from the above $format array 39 foreach($formats as $format) { 41 var_dump( vsprintf($format, $args_array[$counter-1]) );
|
H A D | vprintf_basic9.phpt | 2 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"; 12 // Initialising different format strings 13 $format = "format"; 49 *** Testing vprintf() : basic functionality - using hexadecimal format ***
|
H A D | vprintf_basic1.phpt | 2 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"; 13 $format = "format"; 35 *** Testing vprintf() : basic functionality - using string format ***
|
H A D | vprintf_basic7.phpt | 2 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"; 17 $format = "format"; 40 *** Testing vprintf() : basic functionality - using unsigned format ***
|
H A D | vprintf_basic7_64bit.phpt | 2 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"; 17 $format = "format"; 39 *** Testing vprintf() : basic functionality - using unsigned format ***
|
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"; 14 $format = "format"; 38 *** Testing vsprintf() : basic functionality - using float format ***
|
H A D | sprintf_variation53.phpt | 2 Test sprintf() function : usage variations - with whitespaces in format strings 5 /* Prototype : string sprintf(string $format [, mixed $arg1 [, mixed ...]]) 10 echo "*** Testing sprintf() : with white spaces in format strings ***\n"; 12 // initializing the format array 29 foreach($formats as $format) { 30 var_dump( sprintf($format, 1234) ); 36 *** Testing sprintf() : with white spaces in format strings ***
|
H A D | vfprintf_variation15.phpt | 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 16 * are passed to the '$format' and '$args' arguments of the function 30 // Arrays of unsigned values for the format defined in $format. 31 // Each sub array contains unsigned values which correspond to each format string in $format 45 // looping to test vfprintf() with different unsigned formats from the above $format array 48 foreach($formats as $format) { 50 vfprintf($fp, $format, $args_array[$counter-1]);
|
H A D | vfprintf_variation15_64bit.phpt | 9 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 16 * are passed to the '$format' and '$args' arguments of the function 30 // Arrays of unsigned values for the format defined in $format. 31 // Each sub array contains unsigned values which correspond to each format string in $format 45 // looping to test vfprintf() with different unsigned formats from the above $format array 48 foreach($formats as $format) { 50 vfprintf($fp, $format, $args_array[$counter-1]);
|
H A D | vprintf_variation17.phpt | 5 /* Prototype : string vsprintf(string format, array args) 12 * are passed to the '$format' and '$args' arguments of the function 26 // Arrays of scientific values for the format defined in $format. 27 // Each sub array contains scientific values which correspond to each format string in $format 36 // looping to test vprintf() with different scientific formats from the above $format array 39 foreach($formats as $format) { 41 $result = vprintf($format, $args_array[$counter-1]);
|
H A D | vfprintf_variation3.phpt | 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 12 * the '$format' and '$args' arguments of the function 30 // Arrays of int values for the format defined in $format. 31 // Each sub array contains int values which correspond to each format string in $format 44 // looping to test vfprintf() with different int formats from the above $format array 53 foreach($formats as $format) { 55 vfprintf($fp, $format, $args_array[$counter-1]);
|
H A D | vfprintf_variation5.phpt | 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 12 * the '$format' and '$args' arguments of the function 30 // Arrays of float values for the format defined in $format. 31 // Each sub array contains float values which correspond to each format string in $format 49 // looping to test vprintf() with different float formats from the above $format array 52 foreach($formats as $format) { 54 vfprintf($fp, $format, $args_array[$counter-1]);
|
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"; 13 $format = "format"; 42 *** Testing vfprintf() : basic functionality - using octal 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"; 12 // Initialising different format strings 13 $format = "format"; 53 *** Testing vfprintf) : basic functionality - using hexadecimal 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"; 13 $format = "format"; 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"; 13 $format = "format"; 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"; 14 $format = "format"; 44 *** Testing vfprintf() : basic functionality - using exponential format ***
|
/PHP-5.3/main/ |
H A D | snprintf.h | 81 PHPAPI int ap_php_slprintf(char *buf, size_t len, const char *format,...); 82 PHPAPI int ap_php_vslprintf(char *buf, size_t len, const char *format, va_list ap); 85 PHPAPI int ap_php_vasprintf(char **buf, const char *format, va_list ap); 86 PHPAPI int ap_php_asprintf(char **buf, const char *format, ...); 87 PHPAPI int php_sprintf (char* s, const char* format, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3); 89 PHPAPI char * php_conv_fp(register char format, register double num, 159 char format, char *buf_end, register int *len);
|
/PHP-5.3/ext/date/tests/ |
H A D | idate_variation5.phpt | 2 Test idate() function : usage variation - Passing supported Time format characters to format argume… 5 /* Prototype : int idate(string format [, int timestamp]) 20 '12 hour format' => 'h', 21 '24 hour format' => 'H', 42 --12 hour format-- 45 --24 hour format--
|
H A D | bug55253.phpt | 15 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n"; 16 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n"; 18 echo $interval->format('Add %h hours %i minutes') . "\n"; 22 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n"; 23 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n"; 29 echo $interval->format('Subtract %h hours %i minutes from expected') . "\n"; 33 echo 'Zone Type 3: ' . $date3->format('Y-m-d H:i:s T') . "\n"; 34 echo 'Zone Type 2: ' . $date2->format('Y-m-d H:i:s T') . "\n";
|
H A D | gmstrftime_variation11.phpt | 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 24 echo "\n-- Testing gmstrftime() function with Abbreviated month name format %h --\n"; 25 $format = "%h"; 26 var_dump( gmstrftime($format) ); 27 var_dump( gmstrftime($format, $timestamp) ); 34 -- Testing gmstrftime() function with Abbreviated month name format %h --
|
H A D | gmstrftime_variation12.phpt | 11 /* Prototype : string gmstrftime(string format [, int timestamp]) 24 echo "\n-- Testing gmstrftime() function with Abbreviated month name format %h --\n"; 25 $format = "%h"; 26 var_dump( gmstrftime($format) ); 27 var_dump( gmstrftime($format, $timestamp) ); 34 -- Testing gmstrftime() function with Abbreviated month name format %h --
|