Home
last modified time | relevance | path

Searched refs:format (Results 201 – 225 of 858) sorted by relevance

12345678910>>...35

/PHP-7.2/ext/standard/tests/strings/
H A Dvsprintf_variation6.phpt5 /* Prototype : string vsprintf(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 vsprintf() with different float formats from the above $format array
H A Dvfprintf_variation20.phpt2 Test vfprintf() function : usage variations - unexpected values for the format argument
5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args )
11 * Test vfprintf() when different unexpected format strings are passed to
12 * the '$format' argument of the function
15 echo "*** Testing vfprintf() : with unexpected values for format argument ***\n";
91 fprintf($fp, "\n*** Testing vprintf() with with unexpected values for format argument ***\n");
109 *** Testing vfprintf() : with unexpected values for format argument ***
121 *** Testing vprintf() with with unexpected values for format argument ***
H A Dprintf.phpt14 /* 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 Dprintf_64bit.phpt14 /* 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 Dvprintf_variation6.phpt5 /* 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 Dvprintf_variation8.phpt5 /* 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 Dvsprintf_variation10.phpt5 /* 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 Dvsprintf_variation8.phpt5 /* 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 Dvfprintf_variation6.phpt5 /* Prototype : int vfprintf ( resource $handle , 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
64 // looping to test vfprintf() with different float formats from the above $format array
H A Dvprintf_variation10.phpt5 /* 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 Dvprintf_variation12.phpt9 /* 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 Dvprintf_variation12_64bit.phpt9 /* 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 Dvprintf_variation16.phpt9 /* Prototype : string vprintf(string format, array args)
16 * are passed to the '$format' and '$args' arguments of the function
29 // Arrays of signed and other type of values for the format defined in $format.
30 // Each sub array contains signed values which correspond to each format in $format
63 // looping to test vprintf() with different unsigned formats from the above $format array
H A Dvprintf_variation16_64bit.phpt9 /* Prototype : string vprintf(string format, array args)
16 * are passed to the '$format' and '$args' arguments of the function
29 // Arrays of signed and other type of values for the format defined in $format.
30 // Each sub array contains signed values which correspond to each format in $format
63 // looping to test vprintf() with different unsigned formats from the above $format array
/PHP-7.2/ext/gd/tests/
H A Dbug73159.phpt16 printf("format: %d\n", $header['format']);
20 format: 4
/PHP-7.2/ext/intl/tests/
H A Dmsgfmt_format_error5.phpt2 MessageFormatter::format() invalid date/time argument
20 var_dump($mf->format(array("foo" => new stdclass())));
22 Warning: MessageFormatter::format(): msgfmt_format: invalid object type for date/time (only IntlCal…
24 Warning: MessageFormatter::format(): The argument for key 'foo' cannot be used as a date or time in…
H A Dmsgfmt_setPattern_cache.phpt15 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)));
/PHP-7.2/ext/date/tests/
H A Dbug52290.phpt12 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U'));
15 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U'));
18 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U'));
21 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U'));
H A DDateInterval_format_a.phpt2 DateInterval::format(), %a
10 if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist");
20 echo $interval->format('a=%a') . "\n";
H A DDateTime_modify_basic1.phpt6 … 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 Dbug54597.phpt9 echo $dateObject->format( 'Y' ), "\n";
11 echo $dateObject->format( 'Y' ), "\n";
13 echo $dateObject->format( 'Y' ), "\n";
H A Dexamine_diff.inc21 * @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 Dbug52454.phpt10 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";
/PHP-7.2/Zend/
H A Dzend.c193 va_start(arg, format); in zend_spprintf()
224 va_start(arg, format); in zend_strpprintf()
1199 va_start(args, format); in zend_error()
1211 va_start(args, format); in zend_error()
1334 va_start(va, format); in zend_error()
1343 va_start(va, format); in zend_error_noreturn()
1365 va_start(va, format); in zend_throw_error()
1385 va_start(va, format); in zend_type_error()
1397 va_start(va, format); in zend_internal_type_error()
1414 va_start(va, format); in zend_internal_argument_count_error()
[all …]
/PHP-7.2/ext/mysqli/
H A Dmysqli_exception.c39 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()

Completed in 55 milliseconds

12345678910>>...35