History log of /PHP-8.2/UPGRADING (Results 1 – 25 of 1683)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 33967aef 04-Mar-2024 David Carlier

ext/gettext: dcgettext/dcngettext fix for stable branches.

close GH-13594


# 9999a0cb 28-Feb-2024 David Carlier

ext/gettext: dcgettext/dcngettext sigabrt on macOs.

the man page states `the locale facet is determined by the category argument, which should be
one of the LC_xxx constants defined

ext/gettext: dcgettext/dcngettext sigabrt on macOs.

the man page states `the locale facet is determined by the category argument, which should be
one of the LC_xxx constants defined in the <locale.h> header, excluding LC_ALL`,
since the 0.22.5 release, sanity checks had been strenghtened leading to
an abort with the Zend/tests/arginfo_zpp_mismatch.phpt test setting the
category to 0 which is LC_ALL on macOs.

close GH-13555

show more ...


# 04e8e55f 04-Mar-2024 Saki Takamachi

Added validation of `\n` in $additional_headers of mail()

When $additional_headers of mail() is an array, the same validation as
`\r\n` is now applied to `\n` alone too.


# 3ce7bf2a 07-Jan-2024 haszi

Clear handler status flag in handler init

Closes GH-13087


# cd66fcc6 17-Jun-2023 Ilija Tovilo

Add request_parse_body() function

RFC: https://wiki.php.net/rfc/rfc1867-non-post

This function allows populating the $_POST and $_FILES globals for non-post
requests. This avoid

Add request_parse_body() function

RFC: https://wiki.php.net/rfc/rfc1867-non-post

This function allows populating the $_POST and $_FILES globals for non-post
requests. This avoids manual parsing of RFC1867 requests.

Fixes #55815
Closes GH-11472

show more ...


# 0016b308 05-Feb-2024 Marc Bennewitz

Added DateTime[Immutable]::[get|set]Microseconds (#12557)

* Added DateTime[Immutable]::[get|set]Microseconds


# 05874d4c 04-Feb-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] Make UPGRADING bullet points consistent


# 3b5986db 09-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Implement GH-12908: Show attribute name/class in ReflectionAttribute dump

This is consistent with how many other Reflection classes have a name
field, and it makes debugging easier.

Implement GH-12908: Show attribute name/class in ReflectionAttribute dump

This is consistent with how many other Reflection classes have a name
field, and it makes debugging easier.

Closes GH-12908.
Closes GH-12917.

show more ...


# 78970ef6 03-Feb-2024 Saki Takamachi

Fix GH-12143: Optimize round

Fixed an error in the result due to "pre-rounding" of the round function.

"Pre-rounding" has been abolished and the method of comparing numbers has

Fix GH-12143: Optimize round

Fixed an error in the result due to "pre-rounding" of the round function.

"Pre-rounding" has been abolished and the method of comparing numbers has
been changed.

Closes GH-12268.

show more ...


# edb9f65f 31-Jan-2024 Ayesh Karunaratne

ext/curl: Bump minimum Curl version to >= 7.61.0 (#13259)

Bumps the minimum required libcurl version to 7.61.0.

Please also see #4917, which bumped minimum libcurl version to the cu

ext/curl: Bump minimum Curl version to >= 7.61.0 (#13259)

Bumps the minimum required libcurl version to 7.61.0.

Please also see #4917, which bumped minimum libcurl version to the current >= 7.29.0.
This bumps the minimum requirement to Curl 7.61.0 (released 2018 Sept).

Ubuntu, Debian, RHEL, and RHEL derivatives have major and LTS version bumps this year. Following are the
libcurl-dev/libcurl-devel versions available in the oldest supported (LTS or otherwise) in major OSs.

- Debian buster: [7.64](https://packages.debian.org/buster/libcurl4-openssl-dev)
- Ubuntu 20.04: [7.68](https://packages.ubuntu.com/focal/libcurl-dev)
- CentOS/RHEL 7: 7.29
- RHEL 8/Rocky 8/EL 8: 7.61
- Fedora 38: 7.87

RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely
bump the minimum libcurl version.

7.61.0 was selected as the new minimum because RHEL and derivatives have libcurl-devel version 7.61. RHEL 8 is
a current and supported RHEL version.

show more ...


# 987417e2 22-Jan-2024 Derick Rethans

Remove ext/imap — it has been moved to PECL (#13190)

* Remove ext/imap — it has been moved to PECL

https://pecl.php.net/package/imap

* Remove files related to IMAP

Remove ext/imap — it has been moved to PECL (#13190)

* Remove ext/imap — it has been moved to PECL

https://pecl.php.net/package/imap

* Remove files related to IMAP

* Remove IMAP CI files and set up

* Also disable IMAP on Circle CI

* Update CREDITS file

* Remove IMAP entry from CODEOWNERS

* Revert "Remove files related to IMAP"

This reverts commit a05ffd6c973001f9c3540dbf04b3a9f9797f3acc.

* Mark IMAP is being removed

* Revert "Remove IMAP CI files and set up"

This reverts commit 82e5ba991044222c5c90c7c53ca0adcf3bde3359.

* Revert "Also disable IMAP on Circle CI"

This reverts commit e83827b0b23805ae2571241e472e433b9dc7539f.

* Don't try to build imap extension with CI

* Restore test setup files

* Remove mention of imap in labeler, EXTENSIONS, and sample php.ini files

show more ...


# 98e2948c 14-Jan-2024 Vincent JARDIN

ext/openssl: Add X509 purpose constants.

- X509_PURPOSE_OCSP_HELPER.
- X509_PURPOSE_TIMESTAMP_SIGN.
- Also X509_PURPOSE_ANY is ok since 1.0.1+

Close GH-13149


# 4bd63568 18-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix argument type of simplexml_import_dom (#13170)

It needs to be "object".
This is because first- and third-party extension can register custom
node types using `php_libxml_register

Fix argument type of simplexml_import_dom (#13170)

It needs to be "object".
This is because first- and third-party extension can register custom
node types using `php_libxml_register_export`. So we don't know upfront
what types can be expected.

This also changes the error to a TypeError everywhere.

show more ...


# 8cc472d5 18-Jan-2024 Ayesh Karunaratne

ext/intl: Add NumberFormatter::ROUND_HALFODD

The NumberFormatter::ROUND_HALFEVEN constant exists in PHP already, but its counterpart ROUND_HALFODD was missing.
This adds it, using `UNUM_

ext/intl: Add NumberFormatter::ROUND_HALFODD

The NumberFormatter::ROUND_HALFEVEN constant exists in PHP already, but its counterpart ROUND_HALFODD was missing.
This adds it, using `UNUM_ROUND_HALF_ODD`

Close GH-13191

show more ...


# dcd2a0dd 17-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Make return type of trigger_error() and user_error() true (#13169)


# d5dae8bd 17-Jan-2024 Peter Kokot

[skip ci] Update upgrading docs for build related changes (#13176)

This updates the UPGRADING documents with current build system changes
done since the PHP-8.3 release.


# f7b498b0 15-Jan-2024 Gina Peter Banyard

Use true as return types for SplHeap (#13147)


# c16ad918 28-Nov-2023 Daniil Gentili

Change default method of disabling JIT

https://wiki.php.net/rfc/jit_config_defaults
Closes GH-12678


# 90785dd8 12-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[RFC] Improve callbacks in ext/dom and ext/xsl (#12627)


# e31bf3ad 12-Jan-2024 Tim Düsterhus

UPGRADING: Add new PHP_ROUND_* to global constants section

see 94ddc74c9a578242514f667a86bcafffc068a426
see #12056


# a2b2830f 12-Jan-2024 Max Semenik

ext/standard: make debug_zval_dump() output whether the array is packed (#12641)


# d6a0b3af 11-Jan-2024 Máté Kocsis

Implement PDO driver-specific subclasses

RFC: https://wiki.php.net/rfc/pdo_driver_specific_subclasses
Closes GH-12804

Co-Authored-By: Danack <Danack@basereality.com>


# fc162855 10-Jan-2024 hanshenrik

ext/curl: deprecate CURLOPT_BINARYTRANSFER

This is long overdue, CURLOPT_BINARYTRANSFER has been a no-op since PHP5.1.2 in 2004 (ref https://bugs.php.net/bug.php?id=55635 )

Close GH

ext/curl: deprecate CURLOPT_BINARYTRANSFER

This is long overdue, CURLOPT_BINARYTRANSFER has been a no-op since PHP5.1.2 in 2004 (ref https://bugs.php.net/bug.php?id=55635 )

Close GH-13114.

show more ...


# d7d0d19d 21-Dec-2023 Ilija Tovilo

Support index.php fallback for files in built-in server

If no router script is used, the built-in webserver will now look for a fallback
index file recursively in all cases, including UR

Support index.php fallback for files in built-in server

If no router script is used, the built-in webserver will now look for a fallback
index file recursively in all cases, including URLs with a period.

Fixes GH-12604
Closes GH-12992

show more ...


# 90800b62 07-Jan-2024 haszi

Change PHP_ZTS and PHP_DEBUG to bool to match their ZEND equivalents (#13079)

Co-authored-by: haszi <haszika80@gmail.com>


12345678910>>...68