History log of /PHP-8.2/NEWS (Results 1 – 25 of 15016)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 3ce7bf2a 07-Jan-2024 haszi

Clear handler status flag in handler init

Closes GH-13087


# 7319ca47 05-Feb-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] Fix NEWS date again


# ab508c98 05-Feb-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix unlikely memory leak in case of namespace removal with extremely deep trees


# b320aabc 03-Feb-2024 David Carlier

zend call stack fixing stack limit for macOs arm64.

8MB sounded a prudent size for older 10.9 macOs release, however
with newer mac with arm64, it triggers a stack overflow.

clo

zend call stack fixing stack limit for macOs arm64.

8MB sounded a prudent size for older 10.9 macOs release, however
with newer mac with arm64, it triggers a stack overflow.

close GH-13319

show more ...


# 0016b308 05-Feb-2024 Marc Bennewitz

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

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


# caaf9d04 05-Feb-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] NEWS


# 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 ...


# f9a83a4b 03-Feb-2024 David Carlier

fiber fix wrong asm directives on (default) solaris build mode.

Illumos/Solaris while being 64 bits produces by default 32 bits build.
In this case building the i386 assembly.

C

fiber fix wrong asm directives on (default) solaris build mode.

Illumos/Solaris while being 64 bits produces by default 32 bits build.
In this case building the i386 assembly.

Close GH-13320

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 ...


# d65c3950 31-Jan-2024 Ilija Tovilo

Fix instable array during in-place modification in uksort

The array isn't just observable if the array has RCn, but also if it is inside a
reference that is RCn. By-ref parameters are al

Fix instable array during in-place modification in uksort

The array isn't just observable if the array has RCn, but also if it is inside a
reference that is RCn. By-ref parameters are always RCn and as such always
observable.

Fixes GH-13279
Closes GH-13285

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 ...


# 453f5ab0 31-Jan-2024 David CARLIER

ext/sockets: enabling multicast group for ipv4 on freebsd. (#13240)

bug#75721 patch from jonathan@tangential.ca.

MCAST_JOIN_GROUP/MCAST_LEAVE_GROUP socket option for the RFC 3678

ext/sockets: enabling multicast group for ipv4 on freebsd. (#13240)

bug#75721 patch from jonathan@tangential.ca.

MCAST_JOIN_GROUP/MCAST_LEAVE_GROUP socket option for the RFC 3678
support does not work on freebsd, using IP_ADD_MEMBERSHIP instead.

show more ...


# 5094a636 30-Jan-2024 Eric Mann

PHP-8.3 is now for PHP-8.3.4-dev


# d978ade0 28-Jan-2024 Alex Dowad

Retroactively add NEWS entry for ec348a12

Thanks to Kalle Sommer Nielsen for suggesting that the change in
ec348a12 should have been called out in NEWS.


# fae27cd8 22-Jan-2024 Remi Collet

NEWS


# d6536468 18-Jan-2024 Ilija Tovilo

Fix iterator position resetting

Previously, when an array was converted from packed to hashed, iterators would
not be correctly reset to 0. Similarly, removing the last element from an a

Fix iterator position resetting

Previously, when an array was converted from packed to hashed, iterators would
not be correctly reset to 0. Similarly, removing the last element from an array
would decrease nNumUsed but not actually fix the iterator position, causing the
element to be skipped in the next iteration.

Some code was also removed that skips over IS_UNDEF elements for
nInternalPointer and iterator positions. This is unnecessary, as this already
happens during iteration.

Closes GH-13178
Closes GH-13188

show more ...


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

Fix GH-13142: Undefined variable name is shortened when contains \0

Uses the new %S formatter and introduces the necessary changes and
helpers.


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

Fix GH-13177: PHP 8.3.2: final private constructor not allowed when used in trait

zend_compile has an exception to this rule for constructors using
`zend_is_constructor`, which compares

Fix GH-13177: PHP 8.3.2: final private constructor not allowed when used in trait

zend_compile has an exception to this rule for constructors using
`zend_is_constructor`, which compares the function name to
`__construct`. Sadly, `zend_is_constructor` is not a public API, but we
can just do the string compare ourselves.

Closes GH-13179.

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 ...


# 120bd364 22-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix crashes with entity references and predefined entities

Closes GH-13004.


# 42cbace1 16-Jan-2024 Ilija Tovilo

Fix range inference since "proper-range-semantics" RFC

* Arrays returned from range are never empty
* When step is a double value representable by a long, it is coerced implicitly.

Fix range inference since "proper-range-semantics" RFC

* Arrays returned from range are never empty
* When step is a double value representable by a long, it is coerced implicitly.
As such, passing a double step no longer guarantees that the result is a
non-int array.

Closes GH-13166

show more ...


# c334de8a 16-Jan-2024 Saki Takamachi

[skip ci] Fixed NEWS


# ed64949d 14-Jan-2024 Ilija Tovilo

strtok is not comptime()

Fixes GH-13145
Closes GH-13148


12345678910>>...601