History log of /PHP-8.3/ext/standard/array.c (Results 201 – 225 of 1019)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 73bf2385 05-Jun-2018 Stanislav Malyshev

Fix bug #76390 - do not allow invalid strings in range()


# 3c122e16 30-May-2018 Dmitry Stogov

Avoid rehashing of "packed" array


# 5eb1f92f 28-May-2018 Dmitry Stogov

Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.


# 97a84831 27-May-2018 Bob Weinand

Fixed bug #76383 (array_map on $GLOBALS returns IS_INDIRECT)


# 4ad9cf46 08-May-2018 Dmitry Stogov

Bit test optimization


# c88be6ae 28-Apr-2018 Dmitry Stogov

Bit check micro-optimization


# bb79e576 25-Mar-2018 Gabriel Caruso

Fix arginfo for array_replace(_recursive) and array_merge(_recursive)


# f7f48643 07-Jan-2018 timurib

Remove redundant warning in array_push() and array_unshift()

Cf. https://github.com/php/php-src/pull/3011.


# a795bd82 22-Mar-2018 Dmitry Stogov

Optimize zend_hash_real_init()


# d1c6bda2 22-Mar-2018 Dmitry Stogov

Fixed expectation


# d7f2dc4e 21-Mar-2018 Dmitry Stogov

Improve HashTable iterators handling:
- Avoid iterators check/update on each HashTable update opration
- Keep position equal (or above) nNumUsed instead of HT_INVALID_IDX
- Fixed iterator

Improve HashTable iterators handling:
- Avoid iterators check/update on each HashTable update opration
- Keep position equal (or above) nNumUsed instead of HT_INVALID_IDX
- Fixed iterators handling in array_unshift()

show more ...


# 5e106778 20-Mar-2018 Anatol Belski

Use const pointers


# 98aeb528 07-Mar-2018 Anatol Belski

Remove unused assignment


# fd5bd37a 05-Mar-2018 Nikita Popov

Revert "Fixed bug #75961 (Strange references behavior)"

This reverts commit 94e9d0a2ae76bad712495d820d3962e401085fef.

This code needs to be mindful about modifications to the array

Revert "Fixed bug #75961 (Strange references behavior)"

This reverts commit 94e9d0a2ae76bad712495d820d3962e401085fef.

This code needs to be mindful about modifications to the array
happening during callback execution. It was written in a way that
only accessed the reference, which is guaranteed not to move. The
changed implementation instead accesses the array slot, leading to
use-after-free.

Run ext/standard/tests/array/bug61967.phpt under valgrind to see
the issue.

show more ...


# 94e9d0a2 17-Feb-2018 Xinchen Hui

Fixed bug #75961 (Strange references behavior)


# 6634d5e3 22-Jan-2018 Dmitry Stogov

Use HT_FLAGS() macro


# ebf900a9 22-Jan-2018 Dmitry Stogov

Introduce mcros to access HashTable iterators counter


# 9cbb5210 22-Jan-2018 Dmitry Stogov

Access HashTable.u.flags through HT_FLAGS() macro.


# 465a8cfb 19-Jan-2018 Dmitry Stogov

Use reference-counting instead of duplication


# 40b84831 17-Jan-2018 Dmitry Stogov

Use SEPARATE_ARRAY


# 8c73fc80 12-Jan-2018 Nikita Popov

Fixed bug #75653


# a307689b 02-Jan-2018 Xinchen Hui

Remove unnecessary initialization:w


# a6519d05 02-Jan-2018 Xinchen Hui

year++


# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 02-Jan-2018 Xinchen Hui

year++


12345678910>>...41