Home
last modified time | relevance | path

Searched refs:format (Results 51 – 75 of 768) sorted by relevance

12345678910>>...31

/php-src/ext/standard/tests/strings/
H A Dvprintf_basic2.phpt2 Test vprintf() function : basic functionality - integer format
6 * Testing vprintf() : basic functionality - using integer format
9 echo "*** Testing vprintf() : basic functionality - using integer format ***\n";
12 $format = "format";
34 *** Testing vprintf() : basic functionality - using integer format ***
H A Dsprintf_basic3.phpt2 Test sprintf() function : basic functionality - float format
5 echo "*** Testing sprintf() : basic functionality - using float format ***\n";
10 $format = "format";
23 var_dump( sprintf($format) );
40 *** Testing sprintf() : basic functionality - using float format ***
41 string(6) "format"
H A Dvfprintf_basic2.phpt2 Test vfprintf() function : basic functionality - integer format
6 * Testing vfprintf() : basic functionality - using integer format
9 echo "*** Testing vfprintf() : basic functionality - using integer format ***\n";
12 $format = "format";
41 *** Testing vfprintf() : basic functionality - using integer format ***
H A Dvsprintf_basic9.phpt2 Test vsprintf() function : basic functionality - hexadecimal format
5 echo "*** Testing vsprintf() : basic functionality - using hexadecimal format ***\n";
7 // Initialising different format strings
8 $format = "format";
33 *** Testing vsprintf() : basic functionality - using hexadecimal format ***
H A Dvsprintf_basic8.phpt2 Test vsprintf() function : basic functionality - octal format
5 echo "*** Testing vsprintf() : basic functionality - using octal format ***\n";
8 $format = "format";
23 *** Testing vsprintf() : basic functionality - using octal format ***
H A Dvprintf_variation15_64bit.phpt11 * are passed to the '$format' and '$args' arguments of the function
25 // Arrays of unsigned values for the format defined in $format.
26 // Each sub array contains unsigned values which correspond to each format string in $format
35 // looping to test vprintf() with different unsigned formats from the above $format array
38 foreach($formats as $format) {
40 $result = vprintf($format, $args_array[$counter-1]);
H A Dvprintf_variation3.phpt7 * the '$format' and '$args' arguments of the function
25 // Arrays of int values for the format defined in $format.
26 // Each sub array contains int values which correspond to each format string in $format
39 // looping to test vprintf() with different int formats from the above $format array
42 foreach($formats as $format) {
44 $result = vprintf($format, $args_array[$counter-1]);
H A Dvprintf_variation5.phpt7 * the '$format' and '$args' arguments of the function
25 // Arrays of float values for the format defined in $format.
26 // Each sub array contains float values which correspond to each format string in $format
39 // looping to test vprintf() with different float formats from the above $format array
42 foreach($formats as $format) {
44 $result = vprintf($format, $args_array[$counter-1]);
H A Dvprintf_variation15.phpt11 * are passed to the '$format' and '$args' arguments of the function
25 // Arrays of unsigned values for the format defined in $format.
26 // Each sub array contains unsigned values which correspond to each format string in $format
35 // looping to test vprintf() with different unsigned formats from the above $format array
38 foreach($formats as $format) {
40 $result = vprintf($format, $args_array[$counter-1]);
H A Dprintf_basic2.phpt2 Test printf() function : basic functionality - integer format
5 echo "*** Testing printf() : basic functionality - using integer format ***\n";
9 $format = "format";
18 $result = printf($format);
39 *** Testing printf() : basic functionality - using integer format ***
42 format
H A Dprintf_basic4.phpt2 Test printf() function : basic functionality - bool format
5 echo "*** Testing printf() : basic functionality - using bool format ***\n";
9 $format = "format";
18 $result = printf($format);
38 *** Testing printf() : basic functionality - using bool format ***
41 format
H A Dprintf_basic5.phpt2 Test printf() function : basic functionality - char format
5 echo "*** Testing printf() : basic functionality - using char format ***\n";
9 $format = "format";
18 $result = printf($format);
38 *** Testing printf() : basic functionality - using char format ***
41 format
H A Dvsprintf_basic4.phpt2 Test vsprintf() function : basic functionality - bool format
5 echo "*** Testing vsprintf() : basic functionality - using bool format ***\n";
8 $format = "format";
23 *** Testing vsprintf() : basic functionality - using bool format ***
H A Dvsprintf_basic5.phpt2 Test vsprintf() function : basic functionality - char format
5 echo "*** Testing vsprintf() : basic functionality - using char format ***\n";
8 $format = "format";
23 *** Testing vsprintf() : basic functionality - using char format ***
H A Dvprintf_basic8.phpt2 Test vprintf() function : basic functionality - octal format
5 echo "*** Testing vprintf() : basic functionality - using octal format ***\n";
8 $format = "format";
30 *** Testing vprintf() : basic functionality - using octal format ***
H A Dvsprintf_basic6.phpt2 Test vsprintf() function : basic functionality - exponential format
5 echo "*** Testing vsprintf() : basic functionality - using exponential format ***\n";
8 $format = "format";
23 *** Testing vsprintf() : basic functionality - using exponential format ***
H A Dprintf_basic6.phpt2 Test printf() function : basic functionality - exponential format
5 echo "*** Testing printf() : basic functionality - using exponential format ***\n";
8 $format = "format";
17 $result = printf($format);
37 *** Testing printf() : basic functionality - using exponential format ***
40 format
/php-src/ext/date/tests/
H A Dstrftime_variation8.phpt2 Test strftime() function : usage variation - Passing literal related strings to format argument.
11 $format = "%%";
13 echo "\n-- Testing strftime() function with a literal % character to format --\n";
14 var_dump( strftime($format) );
15 var_dump( strftime($format, $timestamp) );
21 -- Testing strftime() function with a literal % character to format --
H A Dbug40743.phpt6 echo $dt->format(DATE_RFC822), "\n";
7 echo $dt->format('T e Z'), "\n";
13 echo $dt->format(DATE_RFC822 . " e T O U"), "\n";
16 echo $dt->format(DATE_RFC822 . " e T O U"), "\n";
20 echo $dt->format(DATE_RFC822 . " e T O U"), "\n";
23 echo $dt->format(DATE_RFC822 . " e T O U"), "\n";
26 echo $dt->format(DATE_RFC822 . " e T O U"), "\n";
29 echo $dt->format(DATE_RFC822 . " e T O U"), "\n";
H A Ddate_add_basic.phpt12 $format = 'Y-m-d H:i:s';
21 var_dump( $d->format($format) );
25 var_dump( $d->format($format) );
H A Ddate_sub_basic.phpt12 $format = 'Y-m-d H:i:s';
21 var_dump( $d->format($format) );
25 var_dump( $d->format($format) );
/php-src/ext/intl/dateformat/
H A Ddateformat_format_object.cpp68 *format = NULL; in PHP_FUNCTION() local
81 &object, &format, &locale_str, &locale_len) == FAILURE) { in PHP_FUNCTION()
89 if (format == NULL || Z_TYPE_P(format) == IS_NULL) { in PHP_FUNCTION()
91 } else if (Z_TYPE_P(format) == IS_ARRAY) { in PHP_FUNCTION()
92 HashTable *ht = Z_ARRVAL_P(format); in PHP_FUNCTION()
125 } else if (Z_TYPE_P(format) == IS_LONG) { in PHP_FUNCTION()
126 if (!valid_format(format)) { in PHP_FUNCTION()
134 if (!try_convert_to_string(format)) { in PHP_FUNCTION()
137 if (Z_STRLEN_P(format) == 0) { in PHP_FUNCTION()
190 StringPiece sp(Z_STRVAL_P(format)); in PHP_FUNCTION()
[all …]
/php-src/ext/dom/lexbor/lexbor/core/
H A Dprint.h23 lexbor_printf_size(const char *format, ...);
26 lexbor_vprintf_size(const char *format, va_list va);
29 lexbor_sprintf(lxb_char_t *dst, size_t size, const char *format, ...);
32 lexbor_vsprintf(lxb_char_t *dst, size_t size, const char *format, va_list va);
/php-src/ext/exif/tests/
H A Dbug76557.phpt11 Warning: exif_read_data(bug76557.jpg): Process tag(x010F=Make): Illegal format code 0x3030, suppose…
13 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
15 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
17 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
19 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
21 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
23 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
25 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
27 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
29 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030,…
/php-src/ext/intl/tests/
H A Dmsgfmt_format_error4.phpt2 MessageFormatter::format() invalid UTF-8 for arg key or value
14 var_dump($mf->format(array("foo" => 7, "\x80" => "bar")));
16 var_dump($mf->format(array("foo" => "\x80")));
19 Warning: MessageFormatter::format(): Invalid UTF-8 data in argument key: '�' in %s on line %d
22 Warning: MessageFormatter::format(): Invalid UTF-8 data in string argument: '�' in %s on line %d

Completed in 32 milliseconds

12345678910>>...31