/PHP-7.4/ext/intl/tests/ |
H A D | msgfmt_setPattern_cache.phpt | 15 var_dump($mf->format(array(1.3, 1.3))); 16 var_dump($mf->format(array(1.3, 1.3))); 18 var_dump($mf->format(array(1.3, 1.3)));
|
H A D | msgfmt_format_error2.phpt | 2 MessageFormatter::format() inconsistent types in named argument 16 var_dump($mf->format(array(7))); 18 Warning: MessageFormatter::format(): Inconsistent types declared for an argument in %s on line %d
|
H A D | msgfmt_format_error3.phpt | 2 MessageFormatter::format() given negative arg key 16 var_dump($mf->format(array("foo" => 7, -1 => "bar"))); 18 Warning: MessageFormatter::format(): Found negative or too large array key in %s on line %d
|
H A D | bug79212.phpt | 2 Bug #79212 (NumberFormatter::format() may detect wrong type) 11 var_dump($fmt->format(gmp_init('823749273428379492374'))); 14 var_dump($fmt->format([1], NumberFormatter::TYPE_INT64));
|
/PHP-7.4/ext/mysqli/ |
H A D | mysqli_exception.c | 39 void php_mysqli_throw_sql_exception(char *sqlstate, int errorno, char *format, ...) in php_mysqli_throw_sql_exception() argument 45 va_start(arg, format); in php_mysqli_throw_sql_exception() 46 vspprintf(&message, 0, format, arg); in php_mysqli_throw_sql_exception()
|
/PHP-7.4/ext/date/tests/ |
H A D | bug52454.phpt | 10 echo $endOfWeek->format('Y-m-d H:i:s')."\n"; 11 echo $endOfWeek->format('U')."\n"; 16 echo $endOfWeek->format('Y-m-d H:i:s')."\n";
|
H A D | DateTime_modify_basic1.phpt | 6 … the timestamp of a DateTime object by incrementing or decrementing in a format accepted by strtot… 20 echo "After modification 1: " . $datetime->format("D, d M Y") . "\n"; 23 echo "After modification 2: " . $datetime->format("D, d M Y H:i:s") . "\n"; 26 echo "After modification 3: " . $datetime->format("D, d M Y") . "\n"; 29 echo "After modification 4: " . $datetime->format("D, d M Y") . "\n";
|
H A D | bug48476.phpt | 13 var_dump($o->format("d")); 16 var_dump($x->format("d")); 24 Warning: DateTime::format(): The DateTime object has not been correctly initialized by its construc… 27 Warning: DateTime::format(): The DateTime object has not been correctly initialized by its construc…
|
H A D | bug50055.phpt | 10 echo $da1->format( DateTime::ISO8601 ), "\n"; 11 echo date_add($da1, $i)->format( DateTime::ISO8601 ), "\n"; 18 echo $da2->format( DateTime::ISO8601 ), "\n"; 19 echo date_add($da2, $i2)->format( DateTime::ISO8601 ), "\n";//works
|
H A D | examine_diff.inc | 21 * @param string|DateTime $end_date the end date in YYYY-MM-DD format 23 * @param string|DateTime $start_date the start date in YYYY-MM-DD format 41 $start_date = $start->format('Y-m-d H:i:s T'); 48 $end_date = $end->format('Y-m-d H:i:s T'); 57 $result_spec = $result_interval->format('P%R%yY%mM%dDT%hH%iM%sS'); 63 $result_days = $result_interval->format('%a'); 69 $result_end_date = $start->format('Y-m-d H:i:s T'); 75 $result_start_date = $end->format('Y-m-d H:i:s T');
|
H A D | bug39782.phpt | 8 echo $dttTest->format('D M j Y - H:i:s') . "\n"; 11 echo $dttTest->format('D M j Y - H:i:s') . "\n"; 14 echo $dttTest->format('D M j Y - H:i:s') . "\n";
|
H A D | bug75857.phpt | 11 var_dump($longDate->format('e')); 12 var_dump($mediumDate->format('e')); 13 var_dump($smallDate->format('e'));
|
H A D | idate_basic.phpt | 5 /* Prototype : int idate(string format [, int timestamp]) 14 $format = 'Y'; 18 var_dump( idate($format) );
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | vprintf_variation6.phpt | 5 /* Prototype : string vprintf(string format, array args) 12 * the '$format' and '$args' arguments of the function 25 // Arrays of non float values for the format defined in $format. 26 // Each sub array contains non float values which correspond to each format in $format 59 // looping to test vprintf() with different float formats from the above $format array
|
H A D | vprintf_variation8.phpt | 5 /* Prototype : string vprintf(string format, array args) 12 * the '$format' and '$args' arguments of the function 27 // Arrays of non string values for the format defined in $format. 28 // Each sub array contains non string values which correspond to each format in $format 62 // looping to test vprintf() with different string formats from the above $format array
|
H A D | vsprintf_variation10.phpt | 5 /* Prototype : string vsprintf(string format, array args) 12 * the '$format' and '$args' arguments of the function 25 // Arrays of non char values for the format defined in $format. 26 // Each sub array contains non char values which correspond to each format in $format 66 // looping to test vsprintf() with different char formats from the above $format array
|
H A D | vsprintf_variation8.phpt | 5 /* Prototype : string vsprintf(string format, array args) 12 * the '$format' and '$args' arguments of the function 27 // Arrays of non string values for the format defined in $format. 28 // Each sub array contains non string values which correspond to each format in $format 62 // looping to test vsprintf() with different string formats from the above $format array
|
H A D | printf.phpt | 14 /* Various input arrays for different format types */ 158 echo "\n Input Strings format variation array is:\n"; 177 echo "\n Input format variation array is:\n"; 591 Input Strings format variation array is: 623 Input format variation array is: 665 *** Output for '%%%.2f' as the format parameter *** 668 *** Output for '%%' as the format parameter *** 679 *** Output for '%F' as the format parameter *** 682 *** Output for '%X' as the format parameter *** 685 *** Output with no format parameter *** [all …]
|
H A D | printf_64bit.phpt | 14 /* Various input arrays for different format types */ 158 echo "\n Input Strings format variation array is:\n"; 177 echo "\n Input format variation array is:\n"; 591 Input Strings format variation array is: 623 Input format variation array is: 665 *** Output for '%%%.2f' as the format parameter *** 668 *** Output for '%%' as the format parameter *** 679 *** Output for '%F' as the format parameter *** 682 *** Output for '%X' as the format parameter *** 685 *** Output with no format parameter *** [all …]
|
H A D | vprintf_variation10.phpt | 5 /* Prototype : string vprintf(string format, array args) 12 * the '$format' and '$args' arguments of the function 25 // Arrays of non char values for the format defined in $format. 26 // Each sub array contains non char values which correspond to each format in $format 66 // looping to test vprintf() with different char formats from the above $format array
|
H A D | vprintf_variation12.phpt | 9 /* Prototype : string vprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 29 // Arrays of non octal values for the format defined in $format. 30 // Each sub array contains non octal values which correspond to each format in $format 70 // looping to test vprintf() with different octal formats from the above $format array
|
H A D | vprintf_variation12_64bit.phpt | 9 /* Prototype : string vprintf(string format, array args) 16 * the '$format' and '$args' arguments of the function 29 // Arrays of non octal values for the format defined in $format. 30 // Each sub array contains non octal values which correspond to each format in $format 70 // looping to test vprintf() with different octal formats from the above $format array
|
/PHP-7.4/Zend/ |
H A D | zend.c | 220 va_start(arg, format); in zend_spprintf() 232 va_start(arg, format); in zend_spprintf_unchecked() 263 va_start(arg, format); in zend_strpprintf() 275 va_start(arg, format); in zend_strpprintf_unchecked() 1482 va_start(args, format); in zend_error_at() 1493 va_start(args, format); in zend_error() 1508 va_start(args, format); in zend_error_at_noreturn() 1550 va_start(va, format); in zend_throw_error() 1570 va_start(va, format); in zend_type_error() 1582 va_start(va, format); in zend_internal_type_error() [all …]
|
/PHP-7.4/ext/standard/ |
H A D | datetime.c | 69 char *strptime(const char *s, const char *format, struct tm *tm); 78 char *format; in PHP_FUNCTION() local 85 Z_PARAM_STRING(format, format_length) in PHP_FUNCTION() 90 unparsed_part = strptime(ts, format, &parsed_time); in PHP_FUNCTION()
|
/PHP-7.4/ext/standard/tests/image/ |
H A D | getimagesize_xbm.phpt | 2 GetImageSize() for xbm format 11 echo "*** Testing getimagesize() : xbm format ***\n"; 18 *** Testing getimagesize() : xbm format ***
|