History log of /php-src/NEWS (Results 1376 – 1400 of 15454)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# b8ac2071 16-Dec-2022 Christoph M. Becker

Fix GH-10112: LDAP\Connection::__construct() refers to ldap_create()

There is no `ldap_create()`, but rather `ldap_connect()`.

Closes GH-10115.


# f9a1a903 14-Dec-2022 Tim Düsterhus

Add Randomizer::nextFloat() and Randomizer::getFloat() (#9679)

* random: Add Randomizer::nextFloat()

* random: Check that doubles are IEEE-754 in Randomizer::nextFloat()

*

Add Randomizer::nextFloat() and Randomizer::getFloat() (#9679)

* random: Add Randomizer::nextFloat()

* random: Check that doubles are IEEE-754 in Randomizer::nextFloat()

* random: Add Randomizer::nextFloat() tests

* random: Add Randomizer::getFloat() implementing the y-section algorithm

The algorithm is published in:

Drawing Random Floating-Point Numbers from an Interval. Frédéric
Goualard, ACM Trans. Model. Comput. Simul., 32:3, 2022.
https://doi.org/10.1145/3503512

* random: Implement getFloat_gamma() optimization

see https://github.com/php/php-src/pull/9679/files#r994668327

* random: Add Random\IntervalBoundary

* random: Split the implementation of γ-section into its own file

* random: Add tests for Randomizer::getFloat()

* random: Fix γ-section for 32-bit systems

* random: Replace check for __STDC_IEC_559__ by compile-time check for DBL_MANT_DIG

* random: Drop nextFloat_spacing.phpt

* random: Optimize Randomizer::getFloat() implementation

* random: Reject non-finite parameters in Randomizer::getFloat()

* random: Add NEWS/UPGRADING for Randomizer’s float functionality

show more ...


# 284f61ee 14-Dec-2022 Tim Düsterhus

[ci skip] Fix typo in `unserialize()` function name in NEWS

see dd8de1e726a41fdbca6cbd4348ae63a74830a888


# 52a891ae 13-Dec-2022 George Peter Banyard

Add a new imap_is_open() function to check that a connection object is still valid


# 7a983e28 15-Nov-2022 Tyson Andre

Fix Windows shmget() wrt. IPC_PRIVATE

Fixes #9944

https://man7.org/linux/man-pages/man2/shmget.2.html notes

The name choice IPC_PRIVATE was perhaps unfortunate, IPC_NEW

Fix Windows shmget() wrt. IPC_PRIVATE

Fixes #9944

https://man7.org/linux/man-pages/man2/shmget.2.html notes

The name choice IPC_PRIVATE was perhaps unfortunate, IPC_NEW
would more clearly show its function.

Closes GH-9946.

show more ...


# aef7d810 06-Dec-2022 Christoph M. Becker

Fix GH-9949: Partial content on incomplete POST request

`ap_get_brigade()` may fail for different reasons, and we must not
pretend that a partially read POST payload is fine; instead we

Fix GH-9949: Partial content on incomplete POST request

`ap_get_brigade()` may fail for different reasons, and we must not
pretend that a partially read POST payload is fine; instead we report
a content length of zero what matches all other `read_post()` callbacks
of bundled SAPIs.

Closes GH-10059.

show more ...


# 3fb71980 09-Dec-2022 David Carlier

intl extension, follow up on #10006 for numfmt_set_pattern

Closes GH-10073.


# a8392304 30-Nov-2021 Mattias Ellert

Fix compilation on RHEL 7 ppc64le (gcc 4.8)

Fixes GH-10077
Closes GH-10078


# 6422cf6f 27-Nov-2022 David Carlier

intl extension: msgfmt_set_pattern add pattern format error informations.


# b34cdc58 09-Dec-2022 Tim Düsterhus

[ci skip] Fix json_validate() formatting in NEWS

It is expected that each entry ends with a `.`. I've removed the RFC link here,
as NEWS entries do not contain links, when looking at the

[ci skip] Fix json_validate() formatting in NEWS

It is expected that each entry ends with a `.`. I've removed the RFC link here,
as NEWS entries do not contain links, when looking at the past branches. The
RFC link is available in UPGRADING since the previous commit.

show more ...


# ac3ecd03 09-Dec-2022 Joshua Rüsweg

Add `Randomizer::getBytesFromString()` method (#9664)

* Add `Randomizer::getBytesFromAlphabet()` method

* Rename `getBytesFromAlphabet` to `getBytesFromString`

* [ci skip]

Add `Randomizer::getBytesFromString()` method (#9664)

* Add `Randomizer::getBytesFromAlphabet()` method

* Rename `getBytesFromAlphabet` to `getBytesFromString`

* [ci skip] Add NEWS/UPGRADING for Randomizer::getBytesFromString()

Co-authored-by: Tim Düsterhus <tim@bastelstu.be>

show more ...


# 696bb385 07-Dec-2022 Ben Ramsey

PHP-8.1 is now for PHP 8.1.15-dev


# 2f6b9e6c 05-Dec-2022 Christoph M. Becker

Fix #81742: open_basedir bypass in SQLite3 by using file URI

A previous fix[1] was not sufficient to catch all potential file URIs,
because the patch did not cater to URL encoding. Prop

Fix #81742: open_basedir bypass in SQLite3 by using file URI

A previous fix[1] was not sufficient to catch all potential file URIs,
because the patch did not cater to URL encoding. Properly parsing and
decoding the URI may yield a different result than the handling of
SQLite3, so we play it safe, and reject any file URIs if open_basedir
is configured.

[1] <https://bugs.php.net/bug.php?id=77967>

Closes GH-10018.

show more ...


# 608ddb03 02-Dec-2022 George Peter Banyard

Fix GH-10011 (Trampoline autoloader will get reregistered and cannot be unregistered)

There are two issues to resolve:
1. The FCC is not refetch when trying to unregister a trampoline

Fix GH-10011 (Trampoline autoloader will get reregistered and cannot be unregistered)

There are two issues to resolve:
1. The FCC is not refetch when trying to unregister a trampoline
2. Comparing the function pointer of trampolines is meaningless as they are reallocated, thus we need to compare the name of the function

Found while working on GH-8294

Closes GH-10033

show more ...


# 93592ea7 17-Nov-2022 蝦米

Fix GH-9769: Misleading error message for unpacking of objects

Only arrays can be unpacked in constant expressions.

Closes GH-9776.


# d0218511 30-Nov-2022 Derick Rethans

Fixed GH-9699, GH-9866, and GH-9880 (problems with diff); and GH-9700 (greedy tzid parsing)


# 44377c3c 29-Nov-2022 Christoph M. Becker

Fix GH-9971: Incorrect NUMERIC value returned from PDO_Firebird

Dialect 1 databases store and transfer `NUMERIC(15,2)` values as
doubles, which we need to cater to in `firebird_stmt_get_

Fix GH-9971: Incorrect NUMERIC value returned from PDO_Firebird

Dialect 1 databases store and transfer `NUMERIC(15,2)` values as
doubles, which we need to cater to in `firebird_stmt_get_col()` to
avoid `ZEND_ASSUME(0)` to ever be triggered, since that may result
in undefined behavior.

Since adding a regression test would require to create a dialect 1
database, we go without it.

Closes GH-10021.

show more ...


# 500b28ad 25-Nov-2022 Jakub Zelenka

Fix GH-10000: Test failures when OpenSSL compiled with no-dsa


# 772bb625 25-Nov-2022 Arnaud Le Blanc

[ci skip] NEWS


# 4987e65a 25-Nov-2022 Arnaud Le Blanc

[ci skip] NEWS


# ce572213 25-Nov-2022 Jakub Zelenka

Fix GH-9064: PHP fails to build if openssl was built with no-ec


# 3d90a24e 24-Nov-2022 Jakub Zelenka

Fix GH-9997: OpenSSL engine clean up segfault


# c9c1934f 28-Aug-2022 Jakub Zelenka

Fix GH-8517: FPM child pointer can be potentially uninitialized

There might be a moment when the child log event is executed after
freeing a child. That could possibly happen if the chil

Fix GH-8517: FPM child pointer can be potentially uninitialized

There might be a moment when the child log event is executed after
freeing a child. That could possibly happen if the child output is
triggered at the same as the terminating of the child. Then the output
event could be potentially processed after the terminating event which
would cause this kind of issue.

The issue might got more visible after introducing the log_stream on
a child because it is more likely that this cannot be dereferenced
after free. However it is very hard to reproduce this issue so there
is no test for this.

The fix basically prevents passing a child pointer and instead passes
the child PID and then looks the child up by the PID when it is being
processed. This is obviously slower but it is a safe way to do it and
the slow down should not be hopefully visible in a way that it would
overload a master process.

show more ...


# 94702c56 21-Nov-2022 Jakub Zelenka

Fix bug #80669: FPM numeric user fails to set groups


# ecc126eb 23-Nov-2022 Pierrick Charron

[ci skip] Update PHP 8.2.0 new release date


1...<<51525354555657585960>>...619