History log of /PHP-8.3/ext/standard/array.c (Results 276 – 300 of 1132)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 5e106778 20-Mar-2018 Anatol Belski

Use const pointers

# 98aeb528 07-Mar-2018 Anatol Belski

Remove unused assignment

# 4838e979 05-Mar-2018 Nikita Popov

Merge branch 'PHP-7.2'


# 634a1ff0 05-Mar-2018 Nikita Popov

Merge branch 'PHP-7.1' into PHP-7.2


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

# 55ef99e3 17-Feb-2018 Xinchen Hui

Merge branch 'PHP-7.2'

* PHP-7.2:
Update NEWS
Fixed bug #75961 (Strange references behavior)

Conflicts:
ext/standard/array.c


# 26dda899 17-Feb-2018 Xinchen Hui

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Fixed bug #75961 (Strange references behavior)


# 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

# 5c983ae8 12-Jan-2018 Nikita Popov

Merge branch 'PHP-7.2'


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

# efcbea43 26-Dec-2017 Dmitry Stogov

Cheaper reference construction

# 2bbcc04c 11-Dec-2017 Dmitry Stogov

Added special cases for array_diff(), when first argument is an empty array or an array with single element.

# c5ba76d9 11-Dec-2017 Dmitry Stogov

Use cheaper API

# 778dfbc1 11-Dec-2017 Dmitry Stogov

Use cheaper functions

# e4e26f24 03-Dec-2017 Tom Van Looy

Remove RAND_RANGE() macro

The behavior of RANGE_RANGE() is 7.1 changed completely, from
rescaling an already generated number to generating a number
itself. Because of this str_shuff

Remove RAND_RANGE() macro

The behavior of RANGE_RANGE() is 7.1 changed completely, from
rescaling an already generated number to generating a number
itself. Because of this str_shuffle() ended up generating two
random numbers on every iteration.

To avoid further misuse the function is dropped entirely. Extensions
for PHP >= 7.1 should directly call php_mt_rand_range().

show more ...

# 185478d0 07-Dec-2017 Dmitry Stogov

Use cheaper SEPARATE macros

1...<<11121314151617181920>>...46