/php-src/ext/date/tests/ |
H A D | DateTimeInterface_constants.phpt | 2 DateTimeInterface constants 7 DATE_ATOM === DateTimeInterface::ATOM, 8 DATE_COOKIE === DateTimeInterface::COOKIE, 9 DATE_ISO8601 === DateTimeInterface::ISO8601, 11 DATE_RFC822 === DateTimeInterface::RFC822, 12 DATE_RFC850 === DateTimeInterface::RFC850, 13 DATE_RFC1036 === DateTimeInterface::RFC1036, 14 DATE_RFC1123 === DateTimeInterface::RFC1123, 15 DATE_RFC7231 === DateTimeInterface::RFC7231, 19 DATE_RSS === DateTimeInterface::RSS, [all …]
|
H A D | DatePeriod_wrong_constructor.phpt | 18 DatePeriod::__construct() accepts (DateTimeInterface, DateInterval, int [, int]), or (DateTimeInter…
|
H A D | 68062.phpt | 2 DateTimeZone::getOffset() accepts a DateTimeInterface object 18 TypeError: DateTimeZone::getOffset(): Argument #1 ($datetime) must be of type DateTimeInterface, in…
|
H A D | timezone_offset_get_error.phpt | 70 string(96) "timezone_offset_get(): Argument #2 ($datetime) must be of type DateTimeInterface, stdCl… 72 string(91) "timezone_offset_get(): Argument #2 ($datetime) must be of type DateTimeInterface, int g… 74 string(92) "timezone_offset_get(): Argument #2 ($datetime) must be of type DateTimeInterface, null …
|
H A D | DatePeriod_wrong_arguments.phpt | 31 …Error: DatePeriod::__construct() accepts (DateTimeInterface, DateInterval, int [, int]), or (DateT…
|
H A D | DateTimePeriod_inherited_serialization.phpt | 10 DateTimeInterface $start,
|
H A D | gh9866.phpt | 2 Bug GH-9866 (Time zone bug with \DateTimeInterface::diff())
|
H A D | bug-gh9106.phpt | 2 Test for bug GH-9601: DateInterval 1.5s added to DateTimeInterface is rounded down since PHP 8.1.0
|
H A D | bug-gh11416.phpt | 63 DateObjectError: Object of type DateTimeInterface has not been correctly initialized by calling par… 64 DateObjectError: Object of type DateTimeInterface has not been correctly initialized by calling par…
|
H A D | bug68549-dst-transition-DateTime-setTimestamp.phpt | 136 … -> %d %s\n", $timezone, $timestamp, $dt->getTimestamp(), $dt->format(DateTimeInterface::ISO8601));
|
H A D | bug68549-dst-transition-DateTime-setTimezone.phpt | 136 … -> %d %s\n", $timezone, $timestamp, $dt->getTimestamp(), $dt->format(DateTimeInterface::ISO8601));
|
/php-src/ext/date/ |
H A D | php_date.stub.php | 201 …DateTimeInterface $baseObject, DateTimeInterface $targetObject, bool $absolute = false): DateInter… 288 interface DateTimeInterface interface 344 class DateTime implements DateTimeInterface 461 class DateTimeImmutable implements DateTimeInterface 680 public ?DateTimeInterface $start; 685 public ?DateTimeInterface $current; 690 public ?DateTimeInterface $end; 715 * @param DateTimeInterface|string $start 717 * @param DateTimeInterface|int $end 723 public function getStartDate(): DateTimeInterface {} [all …]
|
H A D | php_date_arginfo.h | 92 ZEND_ARG_OBJ_INFO(0, object, DateTimeInterface, 0) 109 ZEND_ARG_OBJ_INFO(0, object, DateTimeInterface, 0) 118 ZEND_ARG_OBJ_INFO(0, object, DateTimeInterface, 0) 122 ZEND_ARG_OBJ_INFO(0, baseObject, DateTimeInterface, 0) 123 ZEND_ARG_OBJ_INFO(0, targetObject, DateTimeInterface, 0) 172 ZEND_ARG_OBJ_INFO(0, datetime, DateTimeInterface, 0) 243 ZEND_ARG_OBJ_INFO(0, targetObject, DateTimeInterface, 0) 276 ZEND_ARG_OBJ_INFO(0, object, DateTimeInterface, 0) 423 ZEND_ARG_OBJ_INFO(0, object, DateTimeInterface, 0) 434 ZEND_ARG_OBJ_INFO(0, datetime, DateTimeInterface, 0) [all …]
|
/php-src/tests/classes/ |
H A D | bug65768.phpt | 2 Bug #65768: date_diff accepts only DateTime instance even though docs say about DateTimeInterface 24 class cdt1 extends DateTime implements DateTimeInterface {} 26 class cdt2 extends DateTimeImmutable implements DateTimeInterface {} 28 class cdt3 implements DateTimeInterface {} 36 Fatal error: DateTimeInterface can't be implemented by user classes in %sbug65768.php on line %d
|
/php-src/Zend/tests/parameter_default_values/ |
H A D | internal_declaration_error_false.phpt | 6 interface MyDateTimeInterface extends DateTimeInterface 12 …Interface::diff(): DateInterval must be compatible with DateTimeInterface::diff(DateTimeInterface …
|
/php-src/ext/opcache/tests/jit/ |
H A D | preload_bug80634.inc | 3 public ?DateTimeInterface $current;
|
H A D | gh12585.phpt | 16 DateTimeInterface $start,
|
/php-src/ext/reflection/tests/ |
H A D | bug80299.phpt | 9 $function = function (int &$foo, DateTimeInterface &$bar) {};
|
/php-src/ext/intl/dateformat/ |
H A D | dateformat.stub.php | 141 * @param IntlCalendar|DateTimeInterface|array|string|int|float $datetime 148 * @param IntlCalendar|DateTimeInterface $datetime
|
/php-src/ext/opcache/tests/ |
H A D | bug75556.phpt | 11 function createFromFormat($format, $date, ?\DateTimeZone $tz = null): ?\DateTimeInterface
|
/php-src/ext/intl/tests/ |
H A D | msgfmt_format_error5.phpt | 19 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted) i…
|
H A D | dateformat_format_variant3.phpt | 404 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 409 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 414 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 419 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 424 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): …
|
H A D | dateformat_formatObject_error.phpt | 32 …ct: the passed object must be an instance of either IntlCalendar or DateTimeInterface in %s on lin…
|
/php-src/ext/soap/tests/schema/ |
H A D | schema086.phpt | 2 SOAP XML Schema 86: DateTimeInterface date/time types
|
/php-src/ext/intl/ |
H A D | php_intl.stub.php | 368 /** @param IntlCalendar|DateTimeInterface|array|string|int|float $datetime */ 372 * @param IntlCalendar|DateTimeInterface $datetime
|