/php-src/docs/ |
H A D | release-process.md | 16 PHP on the fourth Thursday of November each year. Following the GA release, we 933 fourth Thursday of November in the next year. 936 we maintain an `Expires` time of about a year for our security policies. This
|
/php-src/ext/intl/ |
H A D | php_intl.stub.php | 205 function intlcal_set(IntlCalendar $calendar, int $year, int $month, int $dayOfMonth = UNKNOWN, int … argument 289 function intlgregcal_is_leap_year(IntlGregorianCalendar $calendar, int $year): bool {} argument
|
H A D | php_intl_arginfo.h | 55 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0) 201 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
|
/php-src/ext/intl/calendar/ |
H A D | calendar_methods.cpp | 421 zend_long year, month, day; in PHP_METHOD() local 428 &object, Calendar_ce_ptr, &year, &month, &day) == FAILURE) { in PHP_METHOD() 432 ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(year, 1); in PHP_METHOD() 438 co->ucal->set((int32_t) year, (int32_t) month, (int32_t) day); in PHP_METHOD() 443 zend_long year, month, day, hour, minute, second = 0; in PHP_METHOD() local 451 …&object, Calendar_ce_ptr, &year, &month, &day, &hour, &minute, &second, &second_is_null) == FAILUR… in PHP_METHOD() 455 ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(year, 1); in PHP_METHOD() 464 co->ucal->set((int32_t) year, (int32_t) month, (int32_t) day, (int32_t) hour, (int32_t) minute); in PHP_METHOD() 467 …co->ucal->set((int32_t) year, (int32_t) month, (int32_t) day, (int32_t) hour, (int32_t) minute, (i… in PHP_METHOD()
|
H A D | gregoriancalendar_methods.cpp | 233 zend_long year, month, day; in PHP_METHOD() local 241 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &year, &month, &day) == FAILURE) { in PHP_METHOD() 245 ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(year, 1); in PHP_METHOD() 251 gcal = new GregorianCalendar((int32_t) year, (int32_t) month, (int32_t) day, status); in PHP_METHOD() 267 zend_long year, month, day, hour, minute, second; in PHP_METHOD() local 280 ZEND_VALUE_ERROR_OUT_OF_BOUND_VALUE(year, 1); in PHP_METHOD() 289 …gcal = new GregorianCalendar((int32_t) year, (int32_t) month, (int32_t) day, (int32_t) hour, (int3… in PHP_METHOD() 342 zend_long year; in PHP_FUNCTION() local 346 "Ol", &object, GregorianCalendar_ce_ptr, &year) == FAILURE) { in PHP_FUNCTION() 350 if (UNEXPECTED(year < INT32_MIN || year > INT32_MAX)) { in PHP_FUNCTION() [all …]
|
H A D | calendar.stub.php | 321 …public function set(int $year, int $month, int $dayOfMonth = UNKNOWN, int $hour = UNKNOWN, int $mi… argument 323 public function setDate(int $year, int $month, int $dayOfMonth): void {} argument 325 …public function setDateTime(int $year, int $month, int $dayOfMonth, int $hour, int $minute, ?int $… argument 374 public static function createFromDate(int $year, int $month, int $dayOfMonth): static {} argument 376 …public static function createFromDateTime(int $year, int $month, int $dayOfMonth, int $hour, int $… argument 404 public function isLeapYear(int $year): bool {} argument
|
H A D | calendar_arginfo.h | 126 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0) 135 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0) 141 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0) 175 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0) 181 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0) 203 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
|
/php-src/ext/calendar/ |
H A D | jewish.c | 519 int year, in FindStartOfYear() argument 526 *pMetonicCycle = (year - 1) / 19; in FindStartOfYear() 527 *pMetonicYear = (year - 1) % 19; in FindStartOfYear() 684 int year, in JewishToSdn() argument 698 if (year <= 0 || day <= 0 || day > 30) { in JewishToSdn() 705 FindStartOfYear(year, &metonicCycle, &metonicYear, in JewishToSdn() 718 FindStartOfYear(year, &metonicCycle, &metonicYear, in JewishToSdn() 741 FindStartOfYear(year + 1, &metonicCycle, &metonicYear, in JewishToSdn() 744 if (monthsPerYear[(year - 1) % 19] == 12) { in JewishToSdn() 761 FindStartOfYear(year + 1, &metonicCycle, &metonicYear, in JewishToSdn()
|
H A D | calendar_arginfo.h | 7 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)
|
H A D | easter.c | 50 year = 1900; in _cal_easter() 52 year = 1900 + b.tm_year; in _cal_easter() 58 if (gm && year < 1970) { in _cal_easter() 64 if (gm && year > 2000000000) { in _cal_easter() 71 if (gm && (year < 1970 || year > 2037)) { in _cal_easter() 81 …(year >= 1583 && year <= 1752 && method != CAL_EASTER_ROMAN && method != CAL_EASTER_ALWAYS_GREGORI… in _cal_easter() 84 dom = (year + (year/4) + 5) % 7; /* the "Dominical number" - finding a Sunday */ in _cal_easter() 94 dom = (year + (year/4) - (year/100) + (year/400)) % 7; /* the "Domincal number" */ in _cal_easter() 99 solar = (year-1600)/100 - (year-1600)/400; /* the solar and lunar corrections */ in _cal_easter() 100 lunar = (((year-1400) / 100) * 8) / 25; in _cal_easter() [all …]
|
/php-src/ext/date/ |
H A D | php_date.c | 3133 PHP_DATE_PARSE_DATE_SET_TIME_ELEMENT(year, y); in php_date_do_return_parsed_time()
|
H A D | php_date.stub.php | 113 ?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
|
H A D | php_date_arginfo.h | 27 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, year, IS_LONG, 1, "null") 35 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0) 137 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0) 144 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0) 322 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0) 328 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0) 401 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0) 407 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
|
/php-src/ext/fileinfo/libmagic/ |
H A D | cdf_time.c | 52 cdf_getdays(int year) in cdf_getdays() argument 57 for (y = CDF_BASE_YEAR; y < year; y++) in cdf_getdays() 67 cdf_getday(int year, int days) in cdf_getday() argument 72 int sub = mdays[m] + (m == 1 && isleap(year)); in cdf_getday() 84 cdf_getmonth(int year, int days) in cdf_getmonth() argument 90 if (m == 1 && isleap(year)) in cdf_getmonth()
|
/php-src/ext/xsl/tests/ |
H A D | xsltprocessor_exsl_registerPhpFunctionNs.phpt | 31 <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/intl/tests/ |
H A D | calendar_set_error.phpt | 49 IntlCalendar::set(): Argument #1 ($year) must be a valid field 52 intlcal_set(): Argument #2 ($year) must be a valid field
|
/php-src/ext/date/lib/ |
H A D | timelib.h | 1097 void timelib_get_transitions_for_year(timelib_tzinfo *tz, timelib_sll year, timelib_posix_transitio…
|
H A D | parse_date.re | 212 { "year", TIMELIB_YEAR, 1 }, 1040 year = [0-9]{1,4}; 1084 american = month "/" day "/" year; 1091 gnudateshort = year "-" month "-" day; 1094 datefull = day ([ \t.-])* monthtext ([ \t.-])* year; 1108 pgtextshort = monthabbr "-" daylz "-" year; 1109 pgtextreverse = year "-" monthabbr "-" daylz; 2289 …add_pbf_error(s, TIMELIB_ERR_MERIDIAN_BEFORE_HOUR, "A 'day of year' can only come after a year has… 2324 case TIMELIB_FORMAT_YEAR_TWO_DIGIT: /* two digit year */ 2534 /* Range is 1 - 53 for ISO week of year */ [all …]
|
/php-src/ext/standard/tests/network/ |
H A D | setcookie_array_option_error.phpt | 50 // 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/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 5912 # year of release (like 2006, 2007, 2008) 18247 # year 25405 # Update year (+1900 for val >= 0x63, +2000 for val <= 0x62) 25510 # year like 2018 28644 # bit encoded; uses year values relative to 1980 and 2 second precision 28670 # year part 28918 # info does only applies partly for older files like msvbvm50.pdb about year 2001 37906 # -> yyyymmdd: year, month, day of cleaning 38982 # year
|
H A D | magic | 5912 # year of release (like 2006, 2007, 2008) 18247 # year 25405 # Update year (+1900 for val >= 0x63, +2000 for val <= 0x62) 25510 # year like 2018 28644 # bit encoded; uses year values relative to 1980 and 2 second precision 28670 # year part 28918 # info does only applies partly for older files like msvbvm50.pdb about year 2001 37906 # -> yyyymmdd: year, month, day of cleaning 38982 # year
|
/php-src/ext/mysqli/tests/bind_insert/ |
H A D | datetime_types.phpt | 26 c4 year,
|
/php-src/ext/mysqli/tests/bind_fetch/ |
H A D | datetime_types.phpt | 25 c4 year,
|
/php-src/ext/calendar/tests/ |
H A D | easter_date_64bit.phpt | 33 easter_date(): Argument #1 ($year) must be a year after 1970 (inclusive)
|
H A D | easter_date_32bit.phpt | 27 easter_date(): Argument #1 ($year) must be between 1970 and 2037 (inclusive)
|