#
24a29492 |
| 19-Jul-2023 |
Ilija Tovilo |
Fix uouv in array_column column_long and index_long might not be set, but are still used as arguments. They are not actually used if column_str is set, but it's better to initialize
Fix uouv in array_column column_long and index_long might not be set, but are still used as arguments. They are not actually used if column_str is set, but it's better to initialize them anyway, if only to make MemorySanitizer happy.
show more ...
|
#
b06d6dba |
| 03-Feb-2024 |
David Carlier |
Forgotten piece of GH-13309/GH-13310 previous PR |
#
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 ...
|
#
97c6da1d |
| 14-Jan-2024 |
Tim Düsterhus |
random/standard: Correctly handle broken engines in php_array_pick_keys (#13138) |
#
0ee43718 |
| 24-May-2023 |
Ilija Tovilo |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix exception handling in array_multisort()
|
#
b2ec6c24 |
| 23-May-2023 |
Ilija Tovilo |
Fix exception handling in array_multisort() Closes GH-11302 |
#
4676d9bc |
| 24-May-2023 |
Ilija Tovilo |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix access on NULL pointer in array_merge_recursive()
|
#
f5c54fd8 |
| 23-May-2023 |
Ilija Tovilo |
Fix access on NULL pointer in array_merge_recursive() Closes GH-11303 |
#
35c1bb2e |
| 16-Apr-2023 |
Ilija Tovilo |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Support enums in array_unique
|
#
e8b8341d |
| 04-Apr-2023 |
Ilija Tovilo |
Support enums in array_unique Fixes GH-9775 Closes GH-11015 |
#
e3f04ddb |
| 03-Feb-2023 |
Tyson Andre |
Merge branch 'PHP-8.1' into PHP-8.2
|
#
fe2dc2b4 |
| 03-Feb-2023 |
Tyson Andre |
Avoid crash for reset/end/next/prev() on ffi classes (#9711) (And any PECLs returning `zend_empty_array` in the handler->get_properties overrides) Closes GH-9697 This i
Avoid crash for reset/end/next/prev() on ffi classes (#9711) (And any PECLs returning `zend_empty_array` in the handler->get_properties overrides) Closes GH-9697 This is similar to the fix used in d9651a941915eb5fb5ad557090b65256fd8509b6 for array_walk. This should make it safer for php-src (and PECLs, long-term) to return the empty immutable array in `handler->get_properties` to avoid wasting memory. See https://github.com/php/php-src/issues/9697#issuecomment-1273613175 The only possible internal iterator position for the empty array is at the end of the empty array (nInternalPointer=0). The `zend_hash*del*` helpers will always set nInternalPointer to 0 when an array becomes empty, regardless of previous insertions/deletions/updates to the array.
show more ...
|
#
626e9098 |
| 10-Oct-2022 |
Dmitry Stogov |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix GH-9697: array_walk($ffiInstance, function () {}) crashes due to expecting mutable array
|
#
fa2c5195 |
| 10-Oct-2022 |
Dmitry Stogov |
Merge branch 'PHP-8.0' into PHP-8.1 * PHP-8.0: Fix GH-9697: array_walk($ffiInstance, function () {}) crashes due to expecting mutable array
|
#
d9651a94 |
| 10-Oct-2022 |
Dmitry Stogov |
Fix GH-9697: array_walk($ffiInstance, function () {}) crashes due to expecting mutable array |
#
18621521 |
| 30-Aug-2022 |
Ben Ramsey |
Revert "Fix GH-9296: `ksort` behaves incorrectly on arrays with mixed keys" This reverts commit cd1aed8eddd2dccbb55fb1bc3d67b23a8455248c, as discussed on internals (<https://externals.io
Revert "Fix GH-9296: `ksort` behaves incorrectly on arrays with mixed keys" This reverts commit cd1aed8eddd2dccbb55fb1bc3d67b23a8455248c, as discussed on internals (<https://externals.io/message/118483>).
show more ...
|
#
725cb4e8 |
| 29-Aug-2022 |
Christoph M. Becker |
Revert "Fix GH-9296: `ksort` behaves incorrectly on arrays with mixed keys" This reverts commit cd1aed8eddd2dccbb55fb1bc3d67b23a8455248c, as discussed on internals (<https://externals.io
Revert "Fix GH-9296: `ksort` behaves incorrectly on arrays with mixed keys" This reverts commit cd1aed8eddd2dccbb55fb1bc3d67b23a8455248c, as discussed on internals (<https://externals.io/message/118483>).
show more ...
|
#
bc4c0126 |
| 24-Aug-2022 |
Máté Kocsis |
Declare ext/standard constants in stubs - part 1 (#9404) |
#
1094a859 |
| 12-Aug-2022 |
Christoph M. Becker |
Merge branch 'PHP-8.1' * PHP-8.1: Fix GH-9296: `ksort` behaves incorrectly on arrays with mixed keys
|
#
7908aae3 |
| 12-Aug-2022 |
Christoph M. Becker |
Merge branch 'PHP-8.0' into PHP-8.1 * PHP-8.0: Fix GH-9296: `ksort` behaves incorrectly on arrays with mixed keys
|
#
cd1aed8e |
| 11-Aug-2022 |
Denis Vaksman |
Fix GH-9296: `ksort` behaves incorrectly on arrays with mixed keys The comparator function used at ksort in SORT_REGULAR mode need to be consistent with basic comparison rules. These rul
Fix GH-9296: `ksort` behaves incorrectly on arrays with mixed keys The comparator function used at ksort in SORT_REGULAR mode need to be consistent with basic comparison rules. These rules were changed in PHP-8.0 for numeric strings, but comparator used at ksort kept the old behaviour. It leads to inconsistent situations, when after ksort the first key is GREATER than some of the next ones by according to the basic comparison operators. Closes GH-9293.
show more ...
|
#
ad04345e |
| 04-Aug-2022 |
Christoph M. Becker |
Fix GH-9244: Segfault with array_multisort + array_shift After restructuring non-packed arrays, we either need to pack them if possible, or to rehash them. Closes GH-9247. |
#
55f8c142 |
| 04-Aug-2022 |
Christoph M. Becker |
Avoid unnecessary comparison The first element of the `arrays` serves as base for the comparison, so there is no need to compare it to itself. Closes GH-9246. |
#
5c693c77 |
| 26-Jul-2022 |
Tim Düsterhus |
Remove `->last_unsafe` from php_random_status (#9132) Whenever ->last_unsafe is set to `true` an exception has been thrown. Thus we can replace the check for `->last_unsafe` with a check
Remove `->last_unsafe` from php_random_status (#9132) Whenever ->last_unsafe is set to `true` an exception has been thrown. Thus we can replace the check for `->last_unsafe` with a check for `EG(exception)` which is a much more natural way to ommunicate an error up the chain.
show more ...
|
#
4d8dd8d2 |
| 19-Jul-2022 |
Go Kudo |
Implement Random Extension https://wiki.php.net/rfc/rng_extension https://wiki.php.net/rfc/random_extension_improvement |