History log of /php-src/ext/standard/array.c (Results 251 – 275 of 1127)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 777187cb 09-Jun-2018 Nikita Popov

Don't use UNREFs during array operations

Perform DEREFs instead. We were already doing this in some, but not
all places.

While UNREFs are supposed to be transparent, in practice

Don't use UNREFs during array operations

Perform DEREFs instead. We were already doing this in some, but not
all places.

While UNREFs are supposed to be transparent, in practice they have
rare observable side effects. Calling array_merge() on an array
should never change how that array behaves.

show more ...

# 0a0f6c49 05-Jun-2018 Xinchen Hui

Merge branch 'PHP-7.2'

* PHP-7.2:
Fixed bug #76410 (SIGV in zend_mm_alloc_small)
Fix bug #76390 - do not allow invalid strings in range()

Conflicts:
ext/stan

Merge branch 'PHP-7.2'

* PHP-7.2:
Fixed bug #76410 (SIGV in zend_mm_alloc_small)
Fix bug #76390 - do not allow invalid strings in range()

Conflicts:
ext/standard/array.c

show more ...


# 951e29f6 05-Jun-2018 Xinchen Hui

Fixed bug #76410 (SIGV in zend_mm_alloc_small)

# c12fc77b 05-Jun-2018 Stanislav Malyshev

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

# 5fbb0988 05-Jun-2018 Stanislav Malyshev

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Fix bug #76390 - do not allow invalid strings in range()


# 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

# 74be5893 28-May-2018 Anatol Belski

Merge branch 'PHP-7.2'

* PHP-7.2:
Translate correct C++ version with suitable compiler
Fixed bug #76383 (array_map on $GLOBALS returns IS_INDIRECT)


# d5ee654b 28-May-2018 Anatol Belski

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Translate correct C++ version with suitable compiler
Fixed bug #76383 (array_map on $GLOBALS returns IS_INDIRECT)


# 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

# 9993304d 13-Apr-2018 Christoph M. Becker

Merge branch 'PHP-7.2'

* PHP-7.2:
Fix arginfo for array_replace(_recursive) and array_merge(_recursive)


# 3770c2e4 13-Apr-2018 Christoph M. Becker

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Fix arginfo for array_replace(_recursive) and array_merge(_recursive)


# 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

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

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