Home
last modified time | relevance | path

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

12345678910>>...35

/PHP-7.2/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 Ddate_format_error.phpt5 /* Prototype : string date_format ( DateTime $object , string $format )
6 * Description: Returns date formatted according to given format
8 * Alias to functions: DateTime::format
25 $format = "F j, Y, g:i a";
27 var_dump( date_format($date, $format, $extra_arg) );
31 var_dump( date_format($invalid_obj, $format) );
33 var_dump( date_format($invalid_obj, $format) );
35 var_dump( date_format($invalid_obj, $format) );
H A D012.phpt9 var_dump($dto->format("Y/m/d H:i:s"));
11 var_dump($dto->format("Y/m/d H:i:s"));
13 var_dump($dto->format("Y/m/d H:i:s"));
15 var_dump($dto->format("Y/m/d H:i:s"));
17 var_dump($dto->format("Y/m/d H:i:s"));
H A D013.phpt9 var_dump($dto->format("Y.m.d H:i:s"));
11 var_dump($dto->format("Y.m.d H:i:s"));
13 var_dump($dto->format("Y.m.d H:i:s"));
15 var_dump($dto->format("Y.m.d H:i:s"));
17 var_dump($dto->format("Y.m.d H:i:s"));
H A D005.phpt29 Warning: idate(): Unrecognized date format token. in %s on line %d
32 Warning: idate(): idate format is one char in %s on line %d
35 Warning: idate(): Unrecognized date format token. in %s on line %d
39 Warning: idate(): Unrecognized date format token. in %s on line %d
42 Warning: idate(): Unrecognized date format token. in %s on line %d
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 Dgmdate_variation5.phpt2 Test gmdate() function : usage variation - Passing Week representation to format.
5 /* Prototype : string gmdate(string format [, long timestamp])
17 echo "\n-- Testing gmdate() function with ISO-8601 week number of year format --\n";
26 -- Testing gmdate() function with ISO-8601 week number of year format --
H A Dgmstrftime_basic.phpt5 /* Prototype : string gmstrftime(string format [, int timestamp])
14 $format = '%b %d %Y %H:%M:%S';
18 var_dump( gmstrftime($format, $timestamp) );
21 var_dump( gmstrftime($format) );
H A Dstrftime_basic.phpt5 /* Prototype : string strftime(string format [, int timestamp])
15 $format = '%b %d %Y %H:%M:%S';
19 var_dump( strftime($format, $timestamp) );
22 var_dump( strftime($format) );
H A Dbug52062.phpt12 var_dump($d->format('Y-m-d H:i:s U'));
14 var_dump($d->format('U'));
17 var_dump($d->format('Y-m-d H:i:s U'));
21 var_dump($i->format('%s'));
H A Didate_variation6.phpt2 Test idate() function : usage variation - Checking return of year(1 or 2 digits) format starting wi…
5 /* Prototype : int idate(string format [, int timestamp])
15 $format = 'y';
19 var_dump( idate($format, $timestamp) );
23 var_dump( idate($format, $timestamp) );
/PHP-7.2/ext/intl/tests/
H A Dbug74298.phpt2 Bug #74298 (IntlDateFormatter->format() doesn't return microseconds/fractions)
7 var_dump((new \DateTime('2017-01-01 01:02:03.123456'))->format('Y-m-d\TH:i:s.u'));
16 ))->format(new \DateTime('2017-01-01 01:02:03.123456', new \DateTimeZone('UTC'))));
25 )->format(new \DateTime('2017-01-01 01:02:03.123456', new \DateTimeZone('UTC'))));
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_timezone_arg_variations2.phpt16 echo $df->format($ts), "\n";
19 echo $df->format($ts), "\n";
22 echo $df->format($ts), "\n";
25 echo $df->format($ts), "\n";
29 echo $df->format($ts), "\n";
33 echo $df->format($ts), "\n";
36 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 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_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";
/PHP-7.2/ext/standard/tests/image/
H A Dgetimagesize_wbmp.phpt2 GetImageSize() for wbmp format
6 die("skip wbmp file format is not available");
17 echo "*** Testing getimagesize() : wbmp format ***\n";
24 *** Testing getimagesize() : wbmp format ***
H A Dgetimagesize_xbm.phpt2 GetImageSize() for xbm format
6 die("skip xbm file format is not available");
17 echo "*** Testing getimagesize() : xbm format ***\n";
24 *** Testing getimagesize() : xbm format ***
H A Dgetimagesize_tif_mm.phpt2 GetImageSize() for tiff format with big-endian (aka Motorola, aka MM) ordering
6 die("skip tiff_mm file format is not available");
17 echo "*** Testing getimagesize() : tiff_mm format ***\n";
24 *** Testing getimagesize() : tiff_mm format ***
/PHP-7.2/ext/exif/tests/
H A Dbug72094.phpt14 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030…
16 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030…
18 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030…
20 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030…
22 Warning: exif_read_data(bug72094_1.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030…
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=UndefinedTa): Illegal format code 0x3030…
40 Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030…
42 Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030…
44 Warning: exif_read_data(bug72094_3.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030…
[all …]

Completed in 54 milliseconds

12345678910>>...35