History log of /php-src/NEWS (Results 676 – 700 of 15454)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 8bc34dd1 21-Feb-2024 David Carlier

[ci skip] NEWS/UPGRADING


# ba0f9fb5 21-Feb-2024 Ayesh Karunaratne

ext/curl: Add `feature_info` assoc array to `curl_version()` (#13439)

The `phpinfo()` section of the Curl extension lists individual features
supported by the particular ext-Curl + libcu

ext/curl: Add `feature_info` assoc array to `curl_version()` (#13439)

The `phpinfo()` section of the Curl extension lists individual features
supported by the particular ext-Curl + libcurl build. However, the
`curl_version()` function return values do not indicate the same level of
details.

`curl_version()` has a `protocols` key that returns an array of all protocols
supported by the build. But the `features` key is a bitmask of all the features.
Checking the availability of certain feature requires knowing the corresponding
`CURL_VERSION` constant, and checking the availability of the constant and a
bitmask check for it in the `features` value.

For example, to determine HTTP2 support, it requires evaluating:

```php
defined('CURL_VERSION_HTTP2') && (curl_version()['features'] & CURL_VERSION_HTTP2 === CURL_VERSION_HTTP2)
```

To make feature availability checks more intuitive, this adds a new
`feature_list` key to `curl_version()` output array.

With it, checking for individual features availability is easier, and does
not require inspecting the availability of the `CURL_VERSION` constant and
the `features` key.

```php
!empty(curl_version()['feature_list']['HTTP2']);
```

show more ...


# 2f605820 13-Feb-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Workaround ZTS persistent resource crashes (PHP 8.3 and lower)

For master (8.4-dev) I merged GH-13381. But that PR changes public API
of TSRM, so cannot be used on lower branches.

Workaround ZTS persistent resource crashes (PHP 8.3 and lower)

For master (8.4-dev) I merged GH-13381. But that PR changes public API
of TSRM, so cannot be used on lower branches.

This patch is a safe workaround for the issue, in combination with a
pre-existing fix using `ifdef ZTS + if (module_started)` inside pgsql
and odbc. The idea is to delay unloading modules until the persistent
resources are destroyed. This will keep the destructor code accessible
in memory.

This is not a proper fix on its own, because we still need the
workaround of not accessing globals after module destruction.
The proper fix is in master.

Closes GH-13388.

show more ...


# 1d453574 18-Feb-2024 Kamil Tekiela

Tidy up UT and add NEWS entry


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

Upgrade bundled pcre2lib to 10.43 (#13413)


# 492b9e09 16-Feb-2024 Jorg Adam Sowa

Add entry on return type of long2ip to NEWS (#13408)

[skip ci] add entry on return type of long2ip to NEWS and to UPGRADING.


# 20658290 16-Feb-2024 Arnaud Le Blanc

[ci skip] NEWS


# f6016c70 15-Feb-2024 Steve Wall

ext/ldap: Add LDAP_OPT_X_TLS_PROTOCOL_MAX and LDAP_OPT_X_TLS_PROTOCOL_TLS1_3

close GH-13405.


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

Fix GH-13344: finfo::buffer(): Failed identify data 0:(null)

Credits to ranvis for finding the upstream commit that fixes the issue.

This backports https://github.com/file/file/comm

Fix GH-13344: finfo::buffer(): Failed identify data 0:(null)

Credits to ranvis for finding the upstream commit that fixes the issue.

This backports https://github.com/file/file/commit/029b82459eff7074425cfcbda7c3ce07bb9ce32d

Closes GH-13370.

show more ...


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

Update libmagic to 5.45 (#13369)

* Update libmagic to 5.45

This also cleans up magicdata.patch: changes that are already in upstream file
were removed from that patch file.

Update libmagic to 5.45 (#13369)

* Update libmagic to 5.45

This also cleans up magicdata.patch: changes that are already in upstream file
were removed from that patch file.

There are five (expected) test output changes.
All these were also checked with the file command.

- bug77961.phpt changes because there's now an early error-return in the
`if (ts == FILE_BADSIZE) {` branch.
- cve-2014-1943.phpt and cve-2014-1943-mb.phpt change because now the crafted
data is recognised as a simh file.
- bug71434.phpt now properly recognises it as a Python file.
- ext/fileinfo/tests/finfo_file_basic.phpt more specific mime type.

* Adjust memory requirement for s390x fileinfo run

The larger database causes a higher memory usage.
Similar to 962c082a5b7b94f7a3779378e8ab83bedb4445ad.

* [ci skip] NEWS

show more ...


# 199e48b5 10-Feb-2024 Saki Takamachi

Fixed not to set CR_MALFORMED_PACKET to error if CR_SERVER_GONE_ERROR is already set

Closes GH-11951.


# 3ce7bf2a 07-Jan-2024 haszi

Clear handler status flag in handler init

Closes GH-13087


# 452e008f 08-Feb-2024 George Barbarosie

Fix GH-13354: ext/pgsql: pg_execute, pg_send_query_params and_send_execute null value by reference.

For these, when passing null values by refence, queries return erroneous values unlike

Fix GH-13354: ext/pgsql: pg_execute, pg_send_query_params and_send_execute null value by reference.

For these, when passing null values by refence, queries return erroneous values unlike
pg_query_params behaving as expected.

close GH-13355.

show more ...


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


# bc30ae4f 19-Jan-2024 Jakub Zelenka

Fix bug #75712: getenv in php-fpm should not read $_ENV, $_SERVER

Closes GH-13195


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


# d91224cd 03-Feb-2024 David Carlier

Fix GH-13309 and GH-13310: array hashes comparison, wrong buffer len calculation.

php_array_key_compare_string_case_unstable_i has a typo for the second
operand resulting in a wrong buff

Fix GH-13309 and GH-13310: array hashes comparison, wrong buffer len calculation.

php_array_key_compare_string_case_unstable_i has a typo for the second
operand resulting in a wrong buffer size calculation.

Issue reported by @AlexRudyuk

Close GH-13315

show more ...


# 40480357 31-Jan-2024 Ayesh Karunaratne

ext/curl: Fix failing tests due to string changes in libcurl 8.6.0

Upstream libcurl 8.6.0 contains a change[^1] that caused a test failure.
This fixes it by updating the test's `EXPECTF`

ext/curl: Fix failing tests due to string changes in libcurl 8.6.0

Upstream libcurl 8.6.0 contains a change[^1] that caused a test failure.
This fixes it by updating the test's `EXPECTF` to use a regex to account for both string patterns.

[^1]: https://github.com/curl/curl/commit/45cf4755e71f#diff-a8a54563608f8155973318f4ddb61d7328dab512b8ff2b5cc48cc76979d4204cL1683

Closes GH-13293.

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


1...<<21222324252627282930>>...619