Home
last modified time | relevance | path

Searched refs:format (Results 126 – 150 of 798) sorted by relevance

12345678910>>...32

/php-src/ext/standard/tests/strings/
H A Dvprintf_variation13_64bit.phpt11 * the '$format' and '$args' arguments of the function
28 // Arrays of hexa values for the format defined in $format.
29 // Each sub array contains hexa values which correspond to each format string in $format
42 // looping to test vprintf() with different char octal from the above $format array
45 foreach($formats as $format) {
47 $result = vprintf($format, $args_array[$counter-1]);
H A Dsprintf_variation53.phpt2 Test sprintf() function : usage variations - with whitespaces in format strings
5 echo "*** Testing sprintf() : with white spaces in format strings ***\n";
7 // initializing the format array
24 foreach($formats as $format) {
25 var_dump( sprintf($format, 1234) );
31 *** Testing sprintf() : with white spaces in format strings ***
H A Dvprintf_variation9.phpt25 // Arrays of char values for the format defined in $format.
26 // Each sub array contains char values which correspond to each format string in $format
39 // looping to test vprintf() with different char formats from the above $format array
42 foreach($formats as $format) {
44 $result = vprintf($format, $args_array[$counter-1]);
H A Dprintf_basic3.phpt2 Test printf() function : basic functionality - float format
5 echo "*** Testing printf() : basic functionality - using float format ***\n";
10 $format = "format";
23 $result = printf($format);
53 *** Testing printf() : basic functionality - using float format ***
56 format
H A Dvfprintf_basic7.phpt2 Test vfprintf() function : basic functionality - unsigned format
9 echo "*** Testing vfprintf() : basic functionality - using unsigned format ***\n";
12 $format = "format";
41 *** Testing vfprintf() : basic functionality - using unsigned format ***
H A Dvfprintf_basic7_64bit.phpt2 Test vfprintf() function : basic functionality - unsigned format
9 echo "*** Testing vfprintf() : basic functionality - using unsigned format ***\n";
12 $format = "format";
41 *** Testing vfprintf() : basic functionality - using unsigned format ***
H A Dvprintf_variation7.phpt8 * the '$format' and '$args' arguments of the function
41 // Arrays of string values for the format defined in $format.
42 // Each sub array contains string values which correspond to each format string in $format
54 // looping to test vprintf() with different string formats from the above $format array
57 foreach($formats as $format) {
59 $result = vprintf($format, $args_array[$counter-1]);
H A Dvfprintf_basic1.phpt2 Test vfprintf() function : basic functionality - string format
5 echo "*** Testing vfprintf() : basic functionality - using string format ***\n";
8 $format = "format";
36 *** Testing vfprintf() : basic functionality - using string format ***
H A Dvprintf_basic3.phpt2 Test vprintf() function : basic functionality - float format
5 echo "*** Testing vprintf() : basic functionality - using float format ***\n";
9 $format = "format";
47 *** Testing vprintf() : basic functionality - using float format ***
H A Dvprintf_variation11.phpt11 * the '$format' and '$args' arguments of the function
28 // Arrays of octal values for the format defined in $format.
29 // Each sub array contains octal values which correspond to each format string in $format
45 foreach($formats as $format) {
47 $result = vprintf($format, $args_array[$counter-1]);
H A Dvprintf_variation11_64bit.phpt11 * the '$format' and '$args' arguments of the function
28 // Arrays of octal values for the format defined in $format.
29 // Each sub array contains octal values which correspond to each format string in $format
45 foreach($formats as $format) {
47 $result = vprintf($format, $args_array[$counter-1]);
H A Dstr_word_count1.phpt24 str_word_count(): Argument #2 ($format) must be a valid format value
27 str_word_count(): Argument #2 ($format) must be a valid format value
/php-src/ext/pgsql/tests/
H A Dbug71062.phpt19 $date_string_php_iso8601 = date_create('8 Dec 2015 5:38')->format(DateTime::ISO8601);
23 $date_string_modified_iso8601 = date_create('8 Dec 2015 5:38')->format($modified_format);
25 printf("trying format %s \n", DateTime::ISO8601);
28 printf("trying format %s \n", $modified_format);
44 trying format Y-m-d\TH:i:sO
45 trying format Y-m-d H:i:sO
/php-src/Zend/tests/
H A Dstring_to_number_comparison.phpt8 function format($val) {
18 echo format($val1), " == ", format($val2), ": ", format($val1 == $val2), "\n";
22 echo format($val1), " <=> ", format($val2), ": ", format($val1 <=> $val2), "\n";
/php-src/ext/date/tests/
H A D005.phpt19 Warning: idate(): Unrecognized date format token in %s on line %d
22 Warning: idate(): idate format is one char in %s on line %d
25 Warning: idate(): Unrecognized date format token in %s on line %d
29 Warning: idate(): Unrecognized date format token in %s on line %d
32 Warning: idate(): Unrecognized date format token in %s on line %d
H A Dbug80664.phpt7 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\n";
9 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\n";
11 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\n";
13 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\n\n";
17 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\r\n";
19 echo "{$dt->format('Y-m-d H:i:s T')} | {$dt->getTimestamp()}\r\n";
H A Dstrftime_variation5.phpt2 Test strftime() function : usage variation - Passing date related format strings to format argument.
34 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
37 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
42 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
45 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
50 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
53 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
H A Dstrftime_variation7.phpt2 Test strftime() function : usage variation - Passing day related format strings to format argument.
34 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
37 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
42 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
45 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
50 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
53 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
H A Dgmstrftime_variation5.phpt2 Test gmstrftime() function : usage variation - Passing date related format strings to format argume…
35 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
38 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 …
46 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 …
54 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
H A Dgmstrftime_variation7.phpt2 Test gmstrftime() function : usage variation - Passing day related format strings to format argumen…
33 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
36 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
41 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
44 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
49 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
52 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
H A Dstrftime_variation15.phpt16 'Current time %H:%M:%S format' => "%T",
33 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
36 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
41 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
44 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
47 --Current time %H:%M:%S format--
49 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
52 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
H A Dgmstrftime_variation15.phpt16 'Current time %H:%M:%S format' => "%T",
33 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
36 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
41 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
44 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
47 --Current time %H:%M:%S format--
49 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
52 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
H A Dbug45543.phpt16 echo $d1->format(DATE_ISO8601), PHP_EOL;
17 echo $d2->format(DATE_ISO8601), PHP_EOL;
20 echo $d1->format(DATE_ISO8601), PHP_EOL;
21 echo $d2->format(DATE_ISO8601), PHP_EOL;
/php-src/main/
H A Dphp_syslog.c87 PHPAPI void php_syslog(int priority, const char *format, ...) /* {{{ */ in php_syslog() argument
100 va_start(args, format); in php_syslog()
101 vsyslog(priority, format, args); in php_syslog()
106 PHPAPI void php_syslog(int priority, const char *format, ...) /* {{{ */ in php_syslog() argument
120 va_start(args, format); in php_syslog()
121 fbuf = zend_vstrpprintf(0, format, args); in php_syslog()
/php-src/Zend/
H A Dzend.h246 size_t (*printf_function)(const char *format, ...) ZEND_ATTRIBUTE_PTR_FORMAT(printf, 1, 2);
254 void (*printf_to_smart_string_function)(smart_string *buf, const char *format, va_list ap);
255 void (*printf_to_smart_str_function)(smart_str *buf, const char *format, va_list ap);
297 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
299 ZEND_API zend_string *zend_vstrpprintf(size_t max_len, const char *format, va_list ap);
304 ZEND_API size_t zend_spprintf_unchecked(char **message, size_t max_len, const char *format, ...);
305 ZEND_API zend_string *zend_strpprintf_unchecked(size_t max_len, const char *format, ...);
363 extern void (*zend_printf_to_smart_string)(smart_string *buf, const char *format, va_list ap);
364 extern void (*zend_printf_to_smart_str)(smart_str *buf, const char *format, va_list ap);
386 ZEND_API ZEND_COLD void zend_error_unchecked(int type, const char *format, ...);
[all …]

Completed in 44 milliseconds

12345678910>>...32