/PHP-7.4/ext/date/tests/ |
H A D | 012.phpt | 9 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 D | 013.phpt | 9 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 D | bug52062.phpt | 12 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 D | gmdate_variation5.phpt | 2 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 D | gmstrftime_basic.phpt | 5 /* 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 D | strftime_basic.phpt | 5 /* 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 D | idate_variation6.phpt | 2 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) );
|
H A D | DateInterval_format_a.phpt | 2 DateInterval::format(), %a 10 if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist"); 20 echo $interval->format('a=%a') . "\n";
|
H A D | bug52290.phpt | 12 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 D | bug79396-forward-transition-settime.phpt | 8 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 D | bug54597.phpt | 9 echo $dateObject->format( 'Y' ), "\n"; 11 echo $dateObject->format( 'Y' ), "\n"; 13 echo $dateObject->format( 'Y' ), "\n";
|
/PHP-7.4/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_timezone_arg_variations2.phpt | 16 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 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_error5.phpt | 2 MessageFormatter::format() invalid date/time argument 18 var_dump($mf->format(array("foo" => new stdclass()))); 20 Warning: MessageFormatter::format(): msgfmt_format: invalid object type for date/time (only IntlCal… 22 Warning: MessageFormatter::format(): The argument for key 'foo' cannot be used as a date or time in…
|
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 | msgfmt_format_mixed_params.phpt | 2 MessageFormatter::format(): mixed named and numeric parameters 15 var_dump($mf->format(array(2.3, "foo" => 1.3))); 16 var_dump($mf->format(array("foo" => 1.3, 0 => 2.3)));
|
/PHP-7.4/ext/gd/tests/ |
H A D | bug73159.phpt | 16 printf("format: %d\n", $header['format']); 20 format: 4
|
/PHP-7.4/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-7.4/ext/standard/tests/strings/ |
H A D | vsprintf_variation6.phpt | 5 /* 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 D | vfprintf_variation20.phpt | 2 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 ***
|
/PHP-7.4/Zend/tests/type_declarations/variance/ |
H A D | internal_parent.phpt | 7 public static function createFromFormat($format, $time, Wrong $timezone = null) { } 12 …lity between Test::createFromFormat($format, $time, ?Wrong $timezone = NULL) and DateTime::createF…
|