/php-src/ext/standard/tests/strings/ |
H A D | vprintf_variation13_64bit.phpt | 11 * 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 D | sprintf_variation53.phpt | 2 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 D | vprintf_variation9.phpt | 25 // 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 D | printf_basic3.phpt | 2 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 D | vfprintf_basic7.phpt | 2 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 D | vfprintf_basic7_64bit.phpt | 2 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 D | vprintf_variation7.phpt | 8 * 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 D | vfprintf_basic1.phpt | 2 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 D | vprintf_basic3.phpt | 2 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 D | vprintf_variation11.phpt | 11 * 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 D | vprintf_variation11_64bit.phpt | 11 * 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 D | str_word_count1.phpt | 24 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 D | bug71062.phpt | 19 $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 D | string_to_number_comparison.phpt | 8 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 D | 005.phpt | 19 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 D | bug80664.phpt | 7 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 D | strftime_variation5.phpt | 2 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 D | strftime_variation7.phpt | 2 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 D | gmstrftime_variation5.phpt | 2 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 D | gmstrftime_variation7.phpt | 2 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 D | strftime_variation15.phpt | 16 '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 D | gmstrftime_variation15.phpt | 16 '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 D | bug45543.phpt | 16 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 D | php_syslog.c | 87 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 D | zend.h | 246 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 …]
|