/PHP-8.0/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, 10 DATE_RFC822 === DateTimeInterface::RFC822, 11 DATE_RFC850 === DateTimeInterface::RFC850, 12 DATE_RFC1036 === DateTimeInterface::RFC1036, 13 DATE_RFC1123 === DateTimeInterface::RFC1123, 14 DATE_RFC2822 === DateTimeInterface::RFC2822, 16 DATE_RSS === DateTimeInterface::RSS, [all …]
|
H A D | 68062.phpt | 2 DateTimeZone::getOffset() accepts a DateTimeInterface object 18 DateTimeZone::getOffset(): Argument #1 ($datetime) must be of type DateTimeInterface, int given
|
H A D | DatePeriod_wrong_constructor.phpt | 18 DatePeriod::__construct() accepts (DateTimeInterface, DateInterval, int [, int]), or (DateTimeInter…
|
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 | bug-gh8471.phpt | 48 The DateTimeInterface object has not been correctly initialized by its constructor 50 The DateTimeInterface object has not been correctly initialized by its constructor
|
/PHP-8.0/ext/date/ |
H A D | php_date.stub.php | 62 function date_offset_get(DateTimeInterface $object): int {} 65 …DateTimeInterface $baseObject, DateTimeInterface $targetObject, bool $absolute = false): DateInter… 76 function date_timestamp_get(DateTimeInterface $object): int {} 120 interface DateTimeInterface interface 141 class DateTime implements DateTimeInterface 247 class DateTimeImmutable implements DateTimeInterface 343 public function getOffset(DateTimeInterface $datetime) {} 402 * @param DateTimeInterface|string $start 404 * @param DateTimeInterface|int $end 409 /** @return 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) 240 ZEND_ARG_OBJ_INFO(0, targetObject, DateTimeInterface, 0) 262 ZEND_ARG_OBJ_INFO(0, object, DateTimeInterface, 0) 361 ZEND_ARG_OBJ_INFO(0, object, DateTimeInterface, 0) 371 ZEND_ARG_OBJ_INFO(0, datetime, DateTimeInterface, 0) [all …]
|
H A D | php_date.c | 2504 DATE_CHECK_INITIALIZED(old_obj->time, DateTimeInterface); in PHP_METHOD() 2546 DATE_CHECK_INITIALIZED(old_obj->time, DateTimeInterface); in PHP_METHOD() 3413 DATE_CHECK_INITIALIZED(dateobj1->time, DateTimeInterface); in PHP_FUNCTION() 3414 DATE_CHECK_INITIALIZED(dateobj2->time, DateTimeInterface); in PHP_FUNCTION() 3619 DATE_CHECK_INITIALIZED(dateobj->time, DateTimeInterface); in PHP_FUNCTION()
|
/PHP-8.0/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-8.0/Zend/tests/parameter_default_values/ |
H A D | internal_declaration_error_false.phpt | 6 interface MyDateTimeInterface extends DateTimeInterface 12 … of MyDateTimeInterface::diff() must be compatible with DateTimeInterface::diff(DateTimeInterface …
|
/PHP-8.0/ext/intl/dateformat/ |
H A D | dateformat.stub.php | 100 * @param IntlCalendar|DateTimeInterface|array|string|int|float $datetime 107 * @param IntlCalendar|DateTimeInterface $datetime
|
/PHP-8.0/ext/reflection/tests/ |
H A D | bug80299.phpt | 9 $function = function (int &$foo, DateTimeInterface &$bar) {};
|
/PHP-8.0/ext/opcache/tests/ |
H A D | bug75556.phpt | 11 function createFromFormat($format, $date, ?\DateTimeZone $tz = null): ?\DateTimeInterface
|
/PHP-8.0/ext/intl/tests/ |
H A D | msgfmt_format_error5.phpt | 21 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted) i…
|
H A D | dateformat_format.phpt | 403 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 408 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 413 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 418 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 423 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): …
|
H A D | dateformat_format_variant2.phpt | 403 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 408 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 413 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 418 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 423 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): …
|
H A D | dateformat_format_variant3.phpt | 405 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 410 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 415 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 420 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): … 425 …mt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): …
|
H A D | dateformat_formatObject_error.phpt | 34 …ct: the passed object must be an instance of either IntlCalendar or DateTimeInterface in %s on lin…
|
/PHP-8.0/ext/intl/ |
H A D | php_intl.stub.php | 190 /** @param IntlCalendar|DateTimeInterface|array|string|int|float $datetime */ 194 * @param IntlCalendar|DateTimeInterface $datetime
|