Home
last modified time | relevance | path

Searched refs:format (Results 176 – 200 of 798) sorted by relevance

12345678910>>...32

/php-src/ext/date/tests/
H A Dbug62896.phpt12 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
15 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
21 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
24 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
29 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
32 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
H A Doo_002.phpt9 var_dump($d->format(DateTime::RFC822));
11 var_dump($c->format(DateTime::RFC822));
14 var_dump($d->format(DateTime::RFC822));
15 var_dump($c->format(DateTime::RFC822));
H A Dbug49585.phpt8 var_dump($date->format('r'));
11 var_dump($date->format('r'));
12 var_dump($date->format('c'));
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');
74 $result_start_date = $end->format('Y-m-d H:i:s T');
H A D009.phpt26 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
29 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
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…
39 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
42 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 …
49 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
H A D009_win32.phpt38 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 Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in…
50 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
53 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
56 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
59 Deprecated: Function gmstrftime() is deprecated since 8.1, use IntlDateFormatter::format() instead …
H A Dbug60774.phpt2 Bug #60774 (DateInterval::format("%a") is always zero when an interval is created using the createF…
7 echo $i->format("%d"), "\n";
8 echo $i->format("%a"), "\n";
H A Dgh10447.phpt2 Bug GH-10447 ('p' format specifier does not yield 'Z' for 00:00)
6 echo $date->format('Y-m-d\TH:i:sp'), "\n";
9 echo $date->format('Y-m-d\TH:i:sp'), "\n";
/php-src/ext/standard/tests/image/
H A Dgetimagesize_xbm.phpt2 GetImageSize() for xbm format
5 echo "*** Testing getimagesize() : xbm format ***\n";
11 *** Testing getimagesize() : xbm format ***
H A Dgetimagesize_wbmp.phpt2 GetImageSize() for wbmp format
5 echo "*** Testing getimagesize() : wbmp format ***\n";
11 *** Testing getimagesize() : wbmp format ***
H A Dgetimagesize_tif_mm.phpt2 GetImageSize() for tiff format with big-endian (aka Motorola, aka MM) ordering
5 echo "*** Testing getimagesize() : tiff_mm format ***\n";
11 *** Testing getimagesize() : tiff_mm format ***
/php-src/ext/date/
H A Dphp_date.stub.php107 function date(string $format, ?int $timestamp = null): string {} argument
109 function idate(string $format, ?int $timestamp = null): int|false {} argument
112 function gmdate(string $format, ?int $timestamp = null): string {} argument
128 function strftime(string $format, ?int $timestamp = null): string|false {} argument
134 function gmstrftime(string $format, ?int $timestamp = null): string|false {} argument
175 function date_parse_from_format(string $format, string $datetime): array {} argument
184 function date_format(DateTimeInterface $object, string $format): string {} argument
320 public function format(string $format): string; function
384 public function format(string $format): string {} function in DateTime
495 public function format(string $format): string {} function in DateTimeImmutable
[all …]
/php-src/ext/intl/tests/
H A Ddateformat_create_cal_arg.phpt17 echo $df->format($ts), "\n";
21 echo $df->format($ts), "\n";
26 echo $df->format($ts), "\n";
30 echo $df->format($ts), "\n";
34 echo $df->format($ts), "\n";
38 echo $df->format($ts), "\n";
41 echo $df->format($ts), "\n";
H A Ddateformat_create_cal_arg_variant2.phpt17 echo $df->format($ts), "\n";
21 echo $df->format($ts), "\n";
26 echo $df->format($ts), "\n";
30 echo $df->format($ts), "\n";
34 echo $df->format($ts), "\n";
38 echo $df->format($ts), "\n";
41 echo $df->format($ts), "\n";
H A Ddateformat_create_cal_arg_variant3.phpt18 echo $df->format($ts), "\n";
22 echo $df->format($ts), "\n";
27 echo $df->format($ts), "\n";
31 echo $df->format($ts), "\n";
35 echo $df->format($ts), "\n";
39 echo $df->format($ts), "\n";
42 echo $df->format($ts), "\n";
H A Ddateformat_create_cal_arg_variant4.phpt18 echo $df->format($ts), "\n";
22 echo $df->format($ts), "\n";
27 echo $df->format($ts), "\n";
31 echo $df->format($ts), "\n";
35 echo $df->format($ts), "\n";
39 echo $df->format($ts), "\n";
42 echo $df->format($ts), "\n";
H A Ddateformat_create_cal_arg_variant5.phpt17 echo $df->format($ts), "\n";
21 echo $df->format($ts), "\n";
26 echo $df->format($ts), "\n";
30 echo $df->format($ts), "\n";
34 echo $df->format($ts), "\n";
38 echo $df->format($ts), "\n";
41 echo $df->format($ts), "\n";
H A Ddateformat_timezone_arg_variations3.phpt17 echo $df->format($ts), "\n";
20 echo $df->format($ts), "\n";
23 echo $df->format($ts), "\n";
26 echo $df->format($ts), "\n";
30 echo $df->format($ts), "\n";
34 echo $df->format($ts), "\n";
37 echo $df->format($ts), "\n";
H A Dmsgfmt_format_datetime.phpt2 MessageFormatter::format(): DateTime accepted to format dates and times
23 var_dump($mf->format(array($dt)));
24 var_dump($mf->format(array($dti)));
H A Dmsgfmt_format_mixed_params.phpt2 MessageFormatter::format(): mixed named and numeric parameters
13 var_dump($mf->format(array(2.3, "foo" => 1.3)));
14 var_dump($mf->format(array("foo" => 1.3, 0 => 2.3)));
H A Ddateformat_formatObject_error.phpt41 Warning: IntlDateFormatter::formatObject(): datefmt_format_object: the date/time format type is inv…
44 Warning: IntlDateFormatter::formatObject(): datefmt_format_object: bad format; if array, it must ha…
47 Warning: IntlDateFormatter::formatObject(): datefmt_format_object: bad format; if array, it must ha…
50 Warning: IntlDateFormatter::formatObject(): datefmt_format_object: bad format; the date format (fir…
53 Warning: IntlDateFormatter::formatObject(): datefmt_format_object: bad format; the time format (sec…
56 Warning: IntlDateFormatter::formatObject(): datefmt_format_object: the format is empty in %s on lin…
/php-src/ext/exif/tests/
H A Dbug72094.phpt14 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
16 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
18 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
20 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
22 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
24 Warning: exif_read_data(bug72094_1.jpg): Process tag(x8298=Copyright): Illegal format code 0x3030, …
38 Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
40 Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
42 Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
44 Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x303…
[all …]
/php-src/main/
H A Dsnprintf.c282 if (format == 'F') { in php_conv_fp()
298 if (format == 'F') { in php_conv_fp()
338 if (format != 'F') { in php_conv_fp()
343 *s++ = format; /* either e or E */ in php_conv_fp()
1094 cc = format_converter(&od, format, ap); in strx_printv()
1107 va_start(ap, format); in ap_php_slprintf()
1108 cc = strx_printv(buf, len, format, ap); in ap_php_slprintf()
1134 va_start(ap, format); in ap_php_snprintf()
1135 cc = strx_printv(buf, len, format, ap); in ap_php_snprintf()
1177 va_start(ap, format); in ap_php_asprintf()
[all …]
/php-src/ext/tidy/tests/
H A Dsibling_nodes.phpt20 function format($str) {
28 var_dump(format($child->getPreviousSibling()?->value));
30 var_dump(format($child->getNextSibling()?->value));
35 var_dump(format($tidy->html()->getPreviousSibling()?->value));
37 var_dump(format($tidy->html()->getNextSibling()?->value));
/php-src/ext/gd/tests/
H A Dbug73159.phpt20 printf("format: %d\n", $header['format']);
23 format: 4

Completed in 43 milliseconds

12345678910>>...32