/php-src/ext/date/tests/ |
H A D | bug62896.phpt | 12 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 D | oo_002.phpt | 9 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 D | bug49585.phpt | 8 var_dump($date->format('r')); 11 var_dump($date->format('r')); 12 var_dump($date->format('c'));
|
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'); 74 $result_start_date = $end->format('Y-m-d H:i:s T');
|
H A D | 009.phpt | 26 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 D | 009_win32.phpt | 38 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 D | bug60774.phpt | 2 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 D | gh10447.phpt | 2 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 D | getimagesize_xbm.phpt | 2 GetImageSize() for xbm format 5 echo "*** Testing getimagesize() : xbm format ***\n"; 11 *** Testing getimagesize() : xbm format ***
|
H A D | getimagesize_wbmp.phpt | 2 GetImageSize() for wbmp format 5 echo "*** Testing getimagesize() : wbmp format ***\n"; 11 *** Testing getimagesize() : wbmp format ***
|
H A D | getimagesize_tif_mm.phpt | 2 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 D | php_date.stub.php | 107 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 D | dateformat_create_cal_arg.phpt | 17 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 D | dateformat_create_cal_arg_variant2.phpt | 17 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 D | dateformat_create_cal_arg_variant3.phpt | 18 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 D | dateformat_create_cal_arg_variant4.phpt | 18 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 D | dateformat_create_cal_arg_variant5.phpt | 17 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 D | dateformat_timezone_arg_variations3.phpt | 17 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 D | msgfmt_format_datetime.phpt | 2 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 D | msgfmt_format_mixed_params.phpt | 2 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 D | dateformat_formatObject_error.phpt | 41 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 D | bug72094.phpt | 14 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 D | snprintf.c | 282 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 D | sibling_nodes.phpt | 20 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 D | bug73159.phpt | 20 printf("format: %d\n", $header['format']); 23 format: 4
|