History log of /PHP-7.2/ext/standard/array.c (Results 1 – 25 of 792)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6
# 5fa6dcd9 07-Nov-2019 Nikita Popov

Fixed bug #78759

Handle INDIRECT values in array.


Revision tags: php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1
# 83cdb89f 07-Jun-2019 Dmitry Stogov

Fixed bug #77135 (Extract with EXTR_SKIP should skip $this)


Revision tags: php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16
# 9ad9cc71 28-Feb-2019 Nikita Popov

Fixed bug #77669


Revision tags: php-7.3.3RC1, php-7.2.16RC1, php-7.2.15, php-7.3.2, php-7.2.15RC1, php-7.3.2RC1, php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14
# 8ebae846 02-Jan-2019 Xinchen Hui

Fixed bug #77395 (segfault about array_multisort)


Revision tags: php-7.2.14RC1, php-7.3.1RC1, php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6, php-7.1.24, php-7.2.12, php-7.3.0RC5, php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4, php-7.1.23, php-7.2.11, php-7.3.0RC3, php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1, php-7.1.21, php-7.2.9, php-7.3.0beta2, php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3, php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1, php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1, php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16, php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28, php-7.2.3RC1, php-7.1.15RC1, php-7.1.14, php-7.2.2, php-7.1.14RC1, php-7.2.2RC1, php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27, php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1, php-7.2.0, php-7.1.12
# ab6c45f5 22-Nov-2017 Manabu Matsui

Fix bug #75533: array_reduce is slow when $carry is large array


# 70b2fca2 22-Aug-2018 Christoph M. Becker

Fix #76778: array_reduce leaks memory if callback throws exception

We have to release the result variable in the error case, too.


# 38d97557 24-Jul-2018 Xinchen Hui

Fixed bug #68553 (array_column: null values in $index_key become incrementing keys in result)


# 6531719d 21-Jun-2018 Xinchen Hui

Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys)


# 951e29f6 05-Jun-2018 Xinchen Hui

Fixed bug #76410 (SIGV in zend_mm_alloc_small)


# 73bf2385 05-Jun-2018 Stanislav Malyshev

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


# 97a84831 27-May-2018 Bob Weinand

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


# bb79e576 25-Mar-2018 Gabriel Caruso

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


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


# 8c73fc80 12-Jan-2018 Nikita Popov

Fixed bug #75653


# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 02-Jan-2018 Xinchen Hui

year++


Revision tags: php-7.0.26, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1
# cc96166f 27-Oct-2017 Sara Golemon

Don't optimize input arrays with suffix holes


Revision tags: php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25, php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24, php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2
# 6c2c7a02 01-Aug-2017 Nikita Popov

Optimize array_unique()

In SORT_STRING mode, instead of sorting the array, build a hash of
seen elements.


Revision tags: php-7.0.22, php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3
# 5a51da99 29-Jun-2017 Dmitry Stogov

Use inlined version of zval_ptr_dtor() in array_map() loop


# 04fb3f28 25-Jun-2017 Tom Van Looy

Remove superfluous semicolons


Revision tags: php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2
# 9c2a1f52 19-Jun-2017 Dmitry Stogov

Avoid useless dereferences and separations during paramter passing.


# ace9fe53 08-Jun-2017 Dmitry Stogov

Improved new Zend Parameter Parsing API to avoid useless dereferences.
This derefernce made sense only for explicit paramter passing by reference, but this feature was removed in PHP-7.
The i

Improved new Zend Parameter Parsing API to avoid useless dereferences.
This derefernce made sense only for explicit paramter passing by reference, but this feature was removed in PHP-7.
The improvement is 100% backward compatible, only few "tricky" functions may be affected (e.g. extract and usort).

show more ...


Revision tags: php-7.1.6, php-7.2.0alpha1, php-7.0.20
# 27e7aea4 25-May-2017 Dmitry Stogov

"Countable" interface is moved from SPL to Core


Revision tags: php-7.1.6RC1, php-7.0.20RC1
# a08723d3 18-May-2017 Dmitry Stogov

Use interned empty and "one char" strings.


12345678910>>...32