Home
last modified time | relevance | path

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

12345678910>>...32

/php-src/ext/standard/tests/strings/
H A Dprintf.phpt14 /* Various input arrays for different format types */
161 echo "\n Input Strings format variation array is:\n";
180 echo "\n Input format variation array is:\n";
593 Input Strings format variation array is:
625 Input format variation array is:
670 *** Output for '%%' as the format parameter ***
679 Unknown format specifier "-"
681 *** Output for '%F' as the format parameter ***
684 *** Output for '%X' as the format parameter ***
687 *** Output with no format parameter ***
[all …]
H A Dprintf_64bit.phpt14 /* Various input arrays for different format types */
161 echo "\n Input Strings format variation array is:\n";
180 echo "\n Input format variation array is:\n";
593 Input Strings format variation array is:
625 Input format variation array is:
670 *** Output for '%%' as the format parameter ***
679 Unknown format specifier "-"
681 *** Output for '%F' as the format parameter ***
684 *** Output for '%X' as the format parameter ***
687 *** Output with no format parameter ***
[all …]
H A Dsscanf_basic5.phpt2 Test sscanf() function : basic functionality - exponential format
6 echo "*** Testing sscanf() : basic functionality -using exponential format ***\n";
13 // extract details using short format
20 // extract details using long format
29 *** Testing sscanf() : basic functionality -using exponential format ***
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 Dstr_word_count.phpt90 str_word_count(): Argument #2 ($format) must be a valid format value
91 str_word_count(): Argument #2 ($format) must be a valid format value
92 str_word_count(): Argument #2 ($format) must be a valid format value
93 str_word_count(): Argument #2 ($format) must be a valid format value
/php-src/ext/intl/tests/
H A Dmsgfmt_setPattern_cache.phpt13 var_dump($mf->format(array(1.3, 1.3)));
14 var_dump($mf->format(array(1.3, 1.3)));
16 var_dump($mf->format(array(1.3, 1.3)));
H A Dmsgfmt_format_error2.phpt2 MessageFormatter::format() inconsistent types in named argument
14 var_dump($mf->format(array(7)));
17 Warning: MessageFormatter::format(): Inconsistent types declared for an argument in %s on line %d
H A Dmsgfmt_format_error3.phpt2 MessageFormatter::format() given negative arg key
14 var_dump($mf->format(array("foo" => 7, -1 => "bar")));
17 Warning: MessageFormatter::format(): Found negative or too large array key in %s on line %d
H A Dmsgfmt_format_error6.phpt2 MessageFormatter::format() invalid type for key not in pattern
14 var_dump($mf->format(array("foo" => 'bar', 7 => fopen('php://memory', 'r+'))));
17 Warning: MessageFormatter::format(): No strategy to convert the value given for the argument with k…
/php-src/ext/date/tests/
H A DDateTime_construct-dst-overlap.phpt11 echo $d->format('P') . "\n";
16 echo $d->format('P') . "\n";
21 echo $d->format('P') . "\n";
26 echo $d->format('P') . "\n";
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 Dbug79396-forward-transition-settime.phpt8 echo $date->setTime(2, 0)->format('Y-m-d H:i:s T/e - U') . "\n";
11 echo $date->setTime(2, 30)->format('Y-m-d H:i:s T/e - U') . "\n";
14 echo $date->setTime(3, 0)->format('Y-m-d H:i:s T/e - U') . "\n";
17 echo $date->setTime(1, 59, 59)->format('Y-m-d H:i:s T/e - U') . "\n";
H A Dgh9891.phpt13 echo '$a: ', $a->format(DateTime::ATOM), "\n";
14 echo '$b: ', $b->format(DateTime::ATOM), "\n";
19 echo '$a: ', $a->format(DateTime::ATOM), "\n";
20 echo '$b: ', $b->format(DateTime::ATOM), "\n";
H A Dbug54597.phpt9 echo $dateObject->format( 'Y' ), "\n";
11 echo $dateObject->format( 'Y' ), "\n";
13 echo $dateObject->format( 'Y' ), "\n";
H A Dbug80913.phpt9 var_dump($date->format(DATE_ATOM));
10 var_dump($_30mbefore->format(DATE_ATOM));
11 var_dump($_30mafter->format(DATE_ATOM));
H A Dgmdate_basic.phpt9 $format = DATE_ISO8601;
13 var_dump( gmdate($format, $timestamp) );
16 var_dump( gmdate($format) );
H A Dstrftime_variation21.phpt33 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…
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_variation21.phpt33 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 DDatePeriod_no_advance_on_valid.phpt13 echo $item->format('Y-m-d') . "\n";
20 echo $item->format('Y-m-d') . "\n";
29 echo $item->format('Y-m-d') . "\n";
36 echo $item->format('Y-m-d') . "\n";
H A Didate_variation6.phpt2 Test idate() function : usage variation - Checking return of year(1 or 2 digits) format starting wi…
9 $format = 'y';
13 var_dump( idate($format, $timestamp) );
17 var_dump( idate($format, $timestamp) );
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";
H A Dbug49778.phpt2 Bug #49778 (DateInterval::format("%a") is always zero when an interval is created from an ISO strin…
7 echo $i->format("%d"), "\n";
8 echo $i->format("%a"), "\n";
H A DDateTime_modify_basic1.phpt14 echo "After modification 1: " . $datetime->format("D, d M Y") . "\n";
17 echo "After modification 2: " . $datetime->format("D, d M Y H:i:s") . "\n";
20 echo "After modification 3: " . $datetime->format("D, d M Y") . "\n";
23 echo "After modification 4: " . $datetime->format("D, d M Y") . "\n";
H A Dbug50055-001.phpt10 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
/php-src/ext/standard/tests/serialize/
H A Dunserialize_uppercase_s.phpt2 Test unserialize() with the 'S' format emits a deprecation.
11 Deprecated: unserialize(): Unserializing the 'S' format is deprecated in %s on line %d
14 Deprecated: unserialize(): Unserializing the 'S' format is deprecated in %s on line %d

Completed in 25 milliseconds

12345678910>>...32