timezone_transitions_get
Function • Params changed in PHP 8.5
Alias of DateTimeZone::getTransitions.
timezone_transitions_get Function synopsis
timezone_transitions_get(
DateTimeZone $object,
int $timestampBegin = PHP_INT_MIN,
int $timestampEnd = 2147483647
): array|false
Parameters
$object
TypeDateTimeZone
$timestampBegin
OptionalTypeintDefault valuePHP_INT_MIN
$timestampEnd
OptionalTypeintDefault value2147483647
Return value
Typearray|false
Changes to the timezone_transitions_get Function
PHP 8.5
- Parameter default value changed for position #3 (
$timestampEnd):PHP_INT_MAXto2147483647
timezone_transitions_get(
DateTimeZone $object,
int $timestampBegin = PHP_INT_MIN,
- int $timestampEnd = PHP_INT_MAX
+ int $timestampEnd = 2147483647
): array|false PHP 8.0
- Return type added:
array|false - Parameter type added for parameter #1 (
$object):DateTimeZone - Parameter name of parameter #2 changed:
$timestamp_beginto$timestampBegin - Parameter type added for parameter #2 (
$timestampBegin):int - Parameter default value added for position #2 (
$timestampBegin):PHP_INT_MIN - Parameter name of parameter #3 changed:
$timestamp_endto$timestampEnd - Parameter type added for parameter #3 (
$timestampEnd):int - Parameter default value added for position #3 (
$timestampEnd):PHP_INT_MAX
timezone_transitions_get(
- $object,
+ DateTimeZone $object,
- $timestamp_begin,
+ int $timestampBegin = PHP_INT_MIN,
- $timestamp_end
+ int $timestampEnd = PHP_INT_MAX
- )
+ ): array|false timezone_transitions_get Function Availability
timezone_transitions_get Function Availability| PHP Version | Availability |
|---|---|
| PHP 8.6Future Release | Yes |
| PHP 8.5Upcoming Release | Yes |
| PHP 8.4Supported (Latest) | Yes |
| PHP 8.3Supported | Yes |
| PHP 8.2Security-Fixes Only | Yes |
| PHP 8.1Security-Fixes Only | Yes |
| PHP 8.0Unsupported | Yes |
| PHP 7.4Unsupported | Yes |
| PHP 7.3Unsupported | Yes |
| PHP 7.2Unsupported | Yes |
| PHP 7.1Unsupported | Yes |
| PHP 7.0Unsupported | Yes |
| PHP 5.6Unsupported | Yes |
| PHP 5.5Unsupported | Yes |
| PHP 5.4Unsupported | Yes |
| PHP 5.3Unsupported | Yes |