#
0cab8652 |
| 15-Oct-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix compile error when php_libxml.h is included in C++ See https://github.com/php/pecl-xml-xmldiff/issues/1
|
#
582b724c |
| 13-Oct-2023 |
Tim Düsterhus |
random: Fix γ-section implementation for Randomizer::getFloat() (#12402) The reference implementation of the "Drawing Random Floating-Point Numbers from an Interval" paper contains two m
random: Fix γ-section implementation for Randomizer::getFloat() (#12402) The reference implementation of the "Drawing Random Floating-Point Numbers from an Interval" paper contains two mistakes that will result in erroneous values being returned under certain circumstances: - For large values of `g` the multiplication of `k * g` might overflow to infinity. - The value of `ceilint()` might exceed 2^53, possibly leading to a rounding error when promoting `k` to double within the multiplication of `k * g`. This commit updates the implementation based on Prof. Goualard suggestions after reaching out to him. It will correctly handle inputs larger than 2^-1020 in absolute values. This limitation will be documented and those inputs possibly be rejected in a follow-up commit depending on performance concerns.
show more ...
|
#
cd71ab33 |
| 10-Oct-2023 |
Eric Mann |
Prepare NEWS for PHP 8.3.0RC5
|
#
2e0ca471 |
| 04-Feb-2022 |
David CARLIER |
opcache posix creating special shared segments for FreeBSD 13 and above. From this release, it is permitted to create shared memory blocks tagged as large for faster accesses for a size
opcache posix creating special shared segments for FreeBSD 13 and above. From this release, it is permitted to create shared memory blocks tagged as large for faster accesses for a size compatible with otherwise we fallback to a classic creation. Close GH-8037
show more ...
|
#
75da0d7c |
| 08-Oct-2023 |
Omar Emara |
PGSQL: Allow unconditional selection in pg_select Previously, pg_select did not allow unconditional selection, where an empty ids array would result in a function failure. This
PGSQL: Allow unconditional selection in pg_select Previously, pg_select did not allow unconditional selection, where an empty ids array would result in a function failure. This patch implements two changes: - Make the ids array an optional parameter. - Allow the ids array to be empty. In both cases, unconditional selection happen, which is equivalent to pg_query('SELECT * FROM <table>;'). Two test cases were added to test the aforementioned changes. Close GH-5332
show more ...
|
#
42a85fc5 |
| 06-Oct-2023 |
Tim Düsterhus |
password_hash: Increase PHP_PASSWORD_BCRYPT_COST to 12 (#12367) RFC: https://wiki.php.net/rfc/bcrypt_cost_2023
|
#
4ba56999 |
| 02-Oct-2023 |
Ilija Tovilo |
Fix invalid returned opcode for memoized expressions Closes GH-12345
|
#
b31a5b27 |
| 01-Oct-2023 |
Ilija Tovilo |
Fix str_decrement() on "1" Closes GH-12339
|
#
eebc528c |
| 01-Oct-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix broken cache invalidation with deallocated and reallocated document node The original caching implementation had an oversight in combination with the new lifetime management in DOM f
Fix broken cache invalidation with deallocated and reallocated document node The original caching implementation had an oversight in combination with the new lifetime management in DOM for 8.3. The modification counter is stored on the document object itself, but as that can get deallocated when all references disappear, stale cache data can be used. Normally this isn't a problem, unless getElementsByTagName is called not on the document but on a child node. Fix it by moving caching data into the ref object, which will outlive all nodes from a document even if the document object disappears. Closes GH-12338.
show more ...
|
#
5c749ad4 |
| 30-Sep-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Implement request #64137 (XSLTProcessor::setParameter() should allow both quotes to be used) This reimplements the parameter handling. Instead of quoting the strings manually, adding the
Implement request #64137 (XSLTProcessor::setParameter() should allow both quotes to be used) This reimplements the parameter handling. Instead of quoting the strings manually, adding them to an array, and passing that as input; use the libxslt API to pass data verbatim to the processor. This also simplifies the code a lot. Closes GH-12331.
show more ...
|
#
31a44c8c |
| 30-Sep-2023 |
Anatol Belski |
NEWS: Add note about #11891 [ci skip] Signed-off-by: Anatol Belski <ab@php.net>
|
#
df89409a |
| 29-Sep-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix compile error with -Werror=incompatible-function-pointer-types and old libxml2 libxml2 prior to 2.9.8 had a different signature for xmlHashScanner. This signature changed in https://
Fix compile error with -Werror=incompatible-function-pointer-types and old libxml2 libxml2 prior to 2.9.8 had a different signature for xmlHashScanner. This signature changed in https://github.com/GNOME/libxml2/commit/e03f0a199a67017b2f8052354cf732b2b4cae787 Use an #if to work around the incompatible signature. Closes GH-12326.
show more ...
|
#
517411d2 |
| 29-Sep-2023 |
Jakub Zelenka |
Prepare NEWS for PHP 8.3.0RC4
|
#
66a33dbd |
| 22-Sep-2023 |
Thomas Hurst |
Fix GH-12273 - configure __builtin_cpu_init() check __builtin_cpu_init() is documented as having a void return type. It happens to return int on gcc, but is void on clang. Clos
Fix GH-12273 - configure __builtin_cpu_init() check __builtin_cpu_init() is documented as having a void return type. It happens to return int on gcc, but is void on clang. Close GH-122274
show more ...
|
#
5d68d619 |
| 22-Sep-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Implement #53655: Improve speed of DOMNode::C14N() on large XML documents The XPath query is in accordance to spec [1]. However, we can do it in a simpler way. We can use a custom callba
Implement #53655: Improve speed of DOMNode::C14N() on large XML documents The XPath query is in accordance to spec [1]. However, we can do it in a simpler way. We can use a custom callback function instead of a linear search in XPath to check if a node is visible. Note that comment nodes are handled internally by libxml2 already, so we do not need to differentiate between node types. The callback will do an upwards traversal of the tree until the root of the canonicalization is reached. In practice this will speed up the application a lot. [1] https://www.w3.org/TR/2001/REC-xml-c14n-20010315 section 2.1 Closes GH-12278.
show more ...
|
#
3d857d5b |
| 22-Sep-2023 |
Tim Düsterhus |
round(): Validate the rounding mode (#12252)
|
#
f6fae19a |
| 21-Sep-2023 |
David Carlier |
ext/intl: expose dateformat UDAT_PATTERN constant. Close GH-12258
|
#
9652889b |
| 19-Sep-2023 |
Tim Düsterhus |
Reimplement `php_round_helper()` using `modf()` (#12220) This change makes the implementation much easier to understand, by explicitly handling the various cases. It fixes round
Reimplement `php_round_helper()` using `modf()` (#12220) This change makes the implementation much easier to understand, by explicitly handling the various cases. It fixes rounding for `0.49999999999999994`, because no loss of precision happens by adding / subtracing `0.5` before turning the result into an integral float. Instead the fractional parts are explicitly compared. see GH-12143 (this fixes one of the reported cases) Closes GH-12159 which was an alternative attempt to fix the rounding issue for `0.49999999999999994`
show more ...
|
#
0b614a6c |
| 13-Sep-2023 |
George Peter Banyard |
Fixed oss-fuzz #62294: Unsetting variable after ++/-- on string variable warning Closes GH-12202
|
#
d344fe06 |
| 15-Sep-2023 |
Tim Düsterhus |
Fix #[Override] on traits overriding a parent method without a matching interface (#12205) Fixes GH-12189 Co-authored-by: Ilija Tovilo <ilija.tovilo@me.com>
|
#
b2d244a4 |
| 14-Sep-2023 |
Tim Düsterhus |
Show the integer size in phpinfo() (#12201) Resolves GH-12188
|
#
1fa3b4cd |
| 12-Sep-2023 |
Eric Mann |
Update NEWS for start of RC3
|
#
58b8393c |
| 08-Sep-2023 |
Graham Campbell |
Removed incorrect news items for things already in 8.3.x or earlier Closes GH-12160
|
#
45c7e3b0 |
| 06-Sep-2023 |
Máté Kocsis |
Fix #12123 Make _ZEND_TYPE_PREFIX apply only for MSVC Closes GH-12136
|
#
aef52253 |
| 08-Jul-2023 |
David Carlier |
zend_call_stack_get implementation for NetBSD. Despite being OpenBSD's predecessor, the approach is in fact a lot closer to Linux, at least in principle. We purposely avoid reading /
zend_call_stack_get implementation for NetBSD. Despite being OpenBSD's predecessor, the approach is in fact a lot closer to Linux, at least in principle. We purposely avoid reading /proc/N/maps to be more future-proof. Close GH-11637
show more ...
|