PHP 8.7 Codex Changelog
| Newly added | Improvements | Changed | Deprecations | Removals | |
|---|---|---|---|---|---|
| INI Directives | ‧ | ‧ | 1 | ‧ | ‧ |
| Constants | 4 | ‧ | ‧ | ‧ | ‧ |
| Functions | 2 | 3 | ‧ | ‧ | ‧ |
| Classes | 2 | ‧ | ‧ | ‧ | ‧ |
| Enums | 3 | ‧ | ‧ | ‧ | ‧ |
Changed
INI Directives
Global
opcache.max_accelerated_filesINI directive default value changed from
10000to16229
Newly added
Constants
curl
CURLOPT_ECHConstant added
CURLOPT_HAPROXY_CLIENT_IPConstant added
CURLOPT_MAIL_RCPT_ALLOWFAILSConstant added
CURLOPT_SERVER_RESPONSE_TIMEOUT_MSConstant added
Functions
ext-intl
collator_get_rulesFunction added
transliterator_to_rulesFunction added
Classes
ext-intl
IntlNumberFormatterClass added
IntlRelativeDateTimeFormatterClass added
Enums
ext-intl
IntlRelativeDateTimeFormatterCapitalizationEnum added
IntlRelativeDateTimeFormatterStyleEnum added
IntlRelativeDateTimeFormatterUnitEnum 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: