Home
last modified time | relevance | path

Searched refs:year (Results 51 – 75 of 115) sorted by relevance

12345

/php-src/ext/calendar/
H A Dcalendar_arginfo.h7 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
23 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
27 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, year, IS_LONG, 1, "null")
36 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
/php-src/ext/date/
H A Dphp_date.stub.php113 ?int $month = null, ?int $day = null, ?int $year = null): int|false {} argument
117 ?int $month = null, ?int $day = null, ?int $year = null): int|false {} argument
119 function checkdate(int $month, int $day, int $year): bool {} argument
203 function date_date_set(DateTime $object, int $year, int $month, int $day): DateTime {} argument
205 function date_isodate_set(DateTime $object, int $year, int $week, int $dayOfWeek = 1): DateTime {} argument
429 public function setDate(int $year, int $month, int $day): DateTime {} argument
435 public function setISODate(int $year, int $week, int $dayOfWeek = 1): DateTime {} argument
539 public function setDate(int $year, int $month, int $day): DateTimeImmutable {} argument
542 public function setISODate(int $year, int $week, int $dayOfWeek = 1): DateTimeImmutable {} argument
/php-src/ext/date/tests/
H A Dgetdate_basic.phpt35 ["year"]=>
59 ["year"]=>
H A Dbug35499.phpt16 ["year"]=>
52 ["year"]=>
H A Dmktime_error.phpt23 $year = 1963;
26 var_dump( mktime($hour, $minute, $sec, $month, $day, $year, $extra_arg) );
H A Dgmdate_variation3.phpt18 'Day of the year' => 'z'
49 --Day of the year--
H A Dbug48276.phpt2 Bug #48276 (date("Y") prints wrong year on Big Endian machines)
H A Didate_variation4.phpt21 'Day of the year' => 'z',
57 --Day of the year--
H A Dbug33452.phpt2 Bug #33452 (Support for year accompanying ISO week nr)
H A Dbig_year.phpt2 Handling of large year values
H A Ddate_create-relative.phpt16 // around 10 leap year periods (4000 years) in days
23 // around 1 leap year period in years
H A Dbug41709.phpt14 [year] => 0
H A Dgmstrftime_variation7.phpt15 'Day of the year as a decimal number' => "%j",
39 --Day of the year as a decimal number--
H A Dstrftime_variation7.phpt16 'Day of the year as a decimal number' => "%j",
40 --Day of the year as a decimal number--
H A Dbug52430.phpt9 ["year"]=>
H A Dbug63391.phpt2 Test for #63391 (Incorrect/inconsistent day of week prior to the year 1600)
H A Dbug36988.phpt16 TypeError: mktime(): Argument #6 ($year) must be of type ?int, float given
/php-src/ext/intl/dateformat/
H A Ddateformat_format.c95 int32_t year, in internal_get_timestamp() local
109 year = INTL_GET_ELEM(CALENDAR_YEAR) + 1900; /* tm_year is years since 1900 */ in internal_get_timestamp()
130 ucal_setDateTime(pcal, year, month, mday, hour, minute, second, &INTL_DATA_ERROR_CODE(dfo)); in internal_get_timestamp()
/php-src/ext/standard/tests/network/
H A Dsetcookie_error.phpt38 // To go above year 9999: 60 * 60 * 24 * 365 * 9999
41 …var_dump($e->getMessage() == 'setcookie(): "expires" option cannot have a year greater than 9999');
H A Dsetrawcookie_error.phpt38 // To go above year 9999: 60 * 60 * 24 * 365 * 9999
41 …var_dump($e->getMessage() == 'setrawcookie(): "expires" option cannot have a year greater than 999…
H A Dsetcookie_array_option_error.phpt50 // To go above year 9999: 60 * 60 * 24 * 365 * 9999
53 …var_dump($e->getMessage() == 'setcookie(): "expires" option cannot have a year greater than 9999');
/php-src/ext/xsl/tests/
H A Dxsltprocessor_exsl_registerPhpFunctionNs.phpt31 <xsl:template match="date"><xsl:value-of select="date:year(@date)"/></xsl:template>
50 $proc->registerPHPFunctionNS('http://exslt.org/dates-and-times', 'year', dummy_year(...));
/php-src/ext/calendar/tests/
H A Dbug71894.phpt17 ["year"]=>
/php-src/ext/xsl/tests/53965/
H A Dinclude.xsl4 <h2>by <xsl:value-of select="artist"/> - <xsl:value-of select="year"/></h2>
/php-src/ext/intl/tests/
H A Dcalendar_set_error.phpt49 IntlCalendar::set(): Argument #1 ($year) must be a valid field
52 intlcal_set(): Argument #2 ($year) must be a valid field

Completed in 31 milliseconds

12345