History log of /PHP-8.0/Zend/zend_hash.c (Results 76 – 100 of 440)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.1.11, php-5.6.32, php-7.2.0RC5
# 9cf87aa1 24-Oct-2017 Dmitry Stogov

Avoid HashTable allocations for empty arrays (using zend_empty_array).


Revision tags: php-7.0.25, php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1
# f18638ca 06-Oct-2017 Dmitry Stogov

Fixed incorrect recursion detection


# 254b74b8 05-Oct-2017 Dmitry Stogov

HASH_FLAG_PERSISTENT renamed into IS_ARRAY_PERSISTENT and moved into GC_FLAGS (to be consistent with IS_STR_PERSISTENT).


# cb9d81ef 05-Oct-2017 Dmitry Stogov

Refactored recursion pretection


Revision tags: php-7.1.10, php-7.2.0RC3, php-7.0.24
# 44e0b79a 19-Sep-2017 Dmitry Stogov

Refactored array creation API. array_init() and array_init_size() are converted into macros calling zend_new_array(). They are not functions anymore and don't return any values.


Revision tags: php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23
# d938a769 22-Aug-2017 Thomas Punt

Use ZEND_HASH_APPLY_SHIFT macro instead of hard-coded literal


Revision tags: php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, 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
# bc5811f3 04-Jul-2017 Anatol Belski

further sync for vim mode lines


Revision tags: php-7.2.0alpha3
# b1301a06 21-Jun-2017 Thomas Punt

Remove superfluous branch


Revision tags: php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2, php-7.1.6, php-7.2.0alpha1, php-7.0.20, php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1, php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11, php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1, php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38, php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1, php-7.1.0alpha2, php-7.0.8, php-5.6.23, php-5.5.37, php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22, php-5.5.36, php-7.0.7, php-5.6.22RC1, php-7.0.7RC1
# fd402506 05-May-2016 Nikita Popov

Enable HT RC assertions with escape-hatch

HT functions that modify the array now assert that rc=1. As we don't
respect this COW constraint everywhere, either for a good reason or
bec

Enable HT RC assertions with escape-hatch

HT functions that modify the array now assert that rc=1. As we don't
respect this COW constraint everywhere, either for a good reason or
because fixing it would take more work, we provide an escape hatch
in the form of HT_ALLOW_COW_VIOLATION(ht). If this macro is called
assertions on this ht are disabled. The macro is a no-op in release
mode.

show more ...


# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 4cc0286f 03-Jan-2017 Stanislav Malyshev

Fix #73832 - leave the table in a safe state if the size is too big.


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 5733fd1c 20-Dec-2016 David Walker

Fix #73753 - Unpacked Arrays and Duplication


# a0502b89 14-Nov-2016 Andrea Faulds

Convert numeric keys in object/array casts

RFC: https://wiki.php.net/rfc/convert_numeric_keys_in_object_array_casts

This converts key types as appropriate in object to array and arr

Convert numeric keys in object/array casts

RFC: https://wiki.php.net/rfc/convert_numeric_keys_in_object_array_casts

This converts key types as appropriate in object to array and array to object
casts, as well as in get_object_vars().

show more ...


# d6c332eb 21-Oct-2016 Dmitry Stogov

Turn IS_TYPE_COLLECTABLE zval flag into GC_COLLECTABLE zend_refcounted flag.
This simplifies checks and allows reset this flag for "acyclic" arrays and objects.


# 9ded1b4e 19-Oct-2016 Dmitry Stogov

Introduced HT_IS_PACKED() and HT_IS_WITHOUT_HOLES() macros. (Benjamin Coutu)


# b7cbaa7f 27-Sep-2016 Nikita Popov

Fix bug #73181


# 42db6905 22-Sep-2016 Dmitry Stogov

Removed impossible condition


# 986d0f87 28-Aug-2016 Xinchen Hui

Fixed bug #72936 (Zend API's zend_symtable_str_update() asserts key should end with '\0')


# 16160386 21-Jun-2016 Dmitry Stogov

Added ZEND_ATTRIBUTE_FORMAT to some middind functions.
"%p" replaced by ZEND_LONG_FMT to avoid compilation warnings.
Fixed most incorrect use cases of format specifiers.


# 4042f543 20-Jun-2016 Dmitry Stogov

HANDLE_BLOCK/UNBLOCK_INTERRUPTIONS() protection on inter-process data is completely useless now.
Historicaly, these macros were introduced as a protection from execution timeout handling, but we

HANDLE_BLOCK/UNBLOCK_INTERRUPTIONS() protection on inter-process data is completely useless now.
Historicaly, these macros were introduced as a protection from execution timeout handling, but we don't need them anymore after "safe execution timeout" implementation.
These macros are still useful to protect from termination during inner process data modification, because of OS signals (e.g. SIGTERM during OPcache SHM update).

show more ...


# e6d4a9e2 05-May-2016 Nikita Popov

Don't HT_ASSERT rc=1 in zend_hash_apply functions

These are not necessarily used to modify the hash. Move the assert
into the APPLY_REMOVE branch only.


# b91197c8 04-May-2016 Dmitry Stogov

Inlined fast path


# 2578d080 29-Apr-2016 Dmitry Stogov

Fixed compilation warnings


12345678910>>...18