Home
last modified time | relevance | path

Searched refs:format (Results 76 – 100 of 798) sorted by relevance

12345678910>>...32

/php-src/ext/standard/tests/strings/
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
H A Dprintf_basic7.phpt2 Test printf() function : basic functionality - unsigned format
11 echo "*** Testing printf() : basic functionality - using unsigned format ***\n";
15 $format = "format";
24 $result = printf($format);
45 *** Testing printf() : basic functionality - using unsigned format ***
48 format
H A Dprintf_basic8.phpt2 Test printf() function : basic functionality - octal format
11 echo "*** Testing printf() : basic functionality - using octal format ***\n";
14 $format = "format";
23 $result = printf($format);
44 *** Testing printf() : basic functionality - using octal format ***
47 format
H A Dvsprintf_basic1.phpt2 Test vsprintf() function : basic functionality - string format
5 echo "*** Testing vsprintf() : basic functionality - using string format ***\n";
8 $format = "format";
24 *** Testing vsprintf() : basic functionality - using string format ***
H A Dvsprintf_basic7.phpt2 Test vsprintf() function : basic functionality - unsigned format
9 echo "*** Testing vsprintf() : basic functionality - using unsigned format ***\n";
12 $format = "format";
27 *** Testing vsprintf() : basic functionality - using unsigned format ***
H A Dvsprintf_basic7_64bit.phpt2 Test vsprintf() function : basic functionality - unsigned format
9 echo "*** Testing vsprintf() : basic functionality - using unsigned format ***\n";
12 $format = "format";
27 *** Testing vsprintf() : basic functionality - using unsigned format ***
H A Dvprintf_basic9.phpt2 Test vprintf() function : basic functionality - hexadecimal format
5 echo "*** Testing vprintf() : basic functionality - using hexadecimal format ***\n";
7 // Initialising different format strings
8 $format = "format";
43 *** Testing vprintf() : basic functionality - using hexadecimal format ***
/php-src/ext/date/tests/
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) );
H A Dbug73426.phpt2 Bug #73426 (createFromFormat with 'z' format char results in incorrect time)
8 $format = 'Y H:i:s z';
9 var_dump(DateTime::createFromFormat($format, $date));
12 $format = 'z H:i:s Y';
13 var_dump(DateTime::createFromFormat($format, $date));
H A Dbug69089.phpt2 Bug #69089 (Add support for RFC3339 extended to DateTime::format)
11 var_dump($date->format(DateTime::RFC3339_EXTENDED));
12 var_dump($date->format('u'));
13 var_dump($date->format('v'));
H A Dstrftime_variation3.phpt2 Test strftime() function : usage variation - Passing week related format strings to format argument.
32 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
35 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
40 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
43 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
48 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
51 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
56 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
59 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
H A Dgmstrftime_variation3.phpt2 Test gmstrftime() function : usage variation - Passing week related format strings to format argume…
32 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
35 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
40 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
43 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
48 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
51 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
56 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
59 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
H A DDateTime_setTime_basic1.phpt13 echo "Initial date: " . $datetime ->format(DATE_RFC2822) . "\n";
16 echo "After modification1 " . $datetime ->format(DATE_RFC2822) . "\n";
19 echo "After modification2 " . $datetime ->format(DATE_RFC2822) . "\n";
22 echo "After modification3 " . $datetime ->format(DATE_RFC2822) . "\n";
25 echo "After modification4 " . $datetime ->format(DATE_RFC2822) . "\n";
28 echo "After modification5 " . $datetime ->format(DATE_RFC2822) . "\n";
/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
H A Dbug48227.phpt2 Bug #48227 (NumberFormatter::format leaks memory)
11 var_dump($x->format($value));
19 NumberFormatter::format(): Argument #1 ($num) must be of type int|float, string given
22 Deprecated: NumberFormatter::format(): Passing null to parameter #1 ($num) of type int|float is dep…
24 NumberFormatter::format(): Argument #1 ($num) must be of type int|float, NumberFormatter given
H A Dgh11658.phpt2 GitHub #11658 MessageFormatter::format() leaks memory
10 $s = MessageFormatter::formatMessage('en', 'some {wrong.format}', []);
13 $s = msgfmt_format_message('en', 'some {wrong.format}', []);
17 …ntax error (parse error at offset 6, after "some {", before or at "wrong.format}") in %s on line %d
20 …ntax error (parse error at offset 6, after "some {", before or at "wrong.format}") in %s on line %d
/php-src/main/
H A Dsnprintf.h72 PHPAPI int ap_php_slprintf(char *buf, size_t len, const char *format,...) ZEND_ATTRIBUTE_FORMAT(pri…
73 PHPAPI int ap_php_vslprintf(char *buf, size_t len, const char *format, va_list ap);
76 PHPAPI int ap_php_vasprintf(char **buf, const char *format, va_list ap);
77 PHPAPI int ap_php_asprintf(char **buf, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 2, 3);
79 PHPAPI char * php_conv_fp(char format, double num,
134 char format, char *buf_end, size_t *len);

Completed in 28 milliseconds

12345678910>>...32