PHP 8.7 Codex Changelog
| Newly added | Improvements | Changed | Deprecations | Removals | |
|---|---|---|---|---|---|
| Classes | 2 | ‧ | ‧ | ‧ | ‧ |
| Enums | 3 | ‧ | ‧ | ‧ | ‧ |
| Functions | 1 | 3 | ‧ | ‧ | ‧ |
Newly added
Classes
ext-intl
IntlNumberFormatterClass added
IntlRelativeDateTimeFormatterClass added
Enums
ext-intl
IntlRelativeDateTimeFormatterCapitalizationEnum added
IntlRelativeDateTimeFormatterStyleEnum added
IntlRelativeDateTimeFormatterUnitEnum added
Functions
ext-intl
transliterator_to_rulesFunction added
Improvements
Functions
ext-intl
locale_accept_from_http- Optional parameter added - #2:
?array $availableLocales = null
- locale_accept_from_http(string $header): string|false + locale_accept_from_http(string $header, ?array $availableLocales = null): string|falseCore
CONNECTION_ABORTEDReturn type changed:
inttobool- connection_aborted(): int + connection_aborted(): boolignore_user_abortReturn type changed:
inttobool- ignore_user_abort(?bool $enable = null): int + ignore_user_abort(?bool $enable = null): bool
Subscribe to PHP.Watch newsletter for monthly updatesYou will receive an email on last Wednesday of every month and on major PHP releases with new articles related to PHP, upcoming changes, new features and what's changing in the language. No marketing emails, no selling of your contacts, no click-tracking, and one-click instant unsubscribe from any email you receive.
- Optional parameter added - #2: