History log of /PHP-8.4/Zend/zend_hash.c (Results 276 – 300 of 481)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.5.11
# 887189ca 26-Mar-2014 Dmitry Stogov

Refactored IS_INDIRECT usage for CV and object properties to support HashTable resizing


# 9d4001f1 22-Mar-2014 Anatol Belski

fix C89 compat


# f331ed14 21-Mar-2014 Nikita Popov

Revert "Add helper function for updating bucket contents"

Reverting this for now, because it would require further changes
thanks to the zend signals tsrms-but-only-sometimes awesomeness.


# 4e7e301d 20-Mar-2014 Nikita Popov

Rename+move zend_hash_apply_deleter and reuse it

The interruption handling was normalized to wrap the entire deletion
operation (instead of leaving out the destructor call and/or the

Rename+move zend_hash_apply_deleter and reuse it

The interruption handling was normalized to wrap the entire deletion
operation (instead of leaving out the destructor call and/or the
deallocation) per the recommendation of somebody (don't remember who)
familiar with zend signals.

There is an always-inlined variant of the function for use in
the main deletion function, to ensure there is no performance
impact.

show more ...


# 4efa58dd 20-Mar-2014 Nikita Popov

Make zend_hash_apply_deleter() void, to allow reuse

Also remove lies in the comment above the function. apply_deleter
is not safe against modification, if the modification involves
r

Make zend_hash_apply_deleter() void, to allow reuse

Also remove lies in the comment above the function. apply_deleter
is not safe against modification, if the modification involves
removing the next bucket.

Also modified the implementation of zend_hash_graceful_destroy()
to be fully graceful (the reverse variant already was).

show more ...


# c3a31711 20-Mar-2014 Nikita Popov

Add helper function for updating bucket contents


# 994fcfcf 20-Mar-2014 Nikita Popov

Remove unnecessary check

In case of an update the key already existed, so the next free
element can not change.


Revision tags: php-5.5.11RC1, php-5.4.27RC1
# 62c448ab 17-Mar-2014 Dmitry Stogov

Fixed serialize/unserialize problems


# 51494f25 14-Mar-2014 Dmitry Stogov

Don't include trailing zero into hash caclculation


# 3e4c22b4 06-Mar-2014 Dmitry Stogov

Fixed possible HashTable modification in its destructor


Revision tags: php-5.5.10, php-5.4.26
# e0f6bae5 04-Mar-2014 Dmitry Stogov

Passing symbol_table into user error handlers


Revision tags: php-5.6.0alpha3
# a52659bc 19-Feb-2014 Xinchen Hui

zend_hash_del didn't check the PACKED flag


Revision tags: php-5.4.26RC1, php-5.5.10RC1
# 5de71156 18-Feb-2014 Dmitry Stogov

Use better data structures (incomplete; able to run bench.php)


# be82a077 12-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


Revision tags: php-5.6.0alpha2
# f4cfaf36 10-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


Revision tags: php-5.5.9, php-5.4.25, php-5.5.9RC1, php-5.4.25RC1, php-5.6.0alpha1, php-5.5.8, php-5.4.24
# c081ce62 03-Jan-2014 Xinchen Hui

Bump year


# 47c90277 03-Jan-2014 Xinchen Hui

Bump year


# c0d060f5 03-Jan-2014 Xinchen Hui

Bump year


Revision tags: php-5.4.24RC1, php-5.5.8RC1, php-5.5.7, php-5.4.23, php-5.3.28
# 6c2a8068 28-Nov-2013 Dmitry Stogov

Avoid interned hash key duplication and hash key length recaclulation


# 5d257626 28-Nov-2013 Dmitry Stogov

Removed unused "pHashFunction" argument in _zend_hash_init() and family (must be 99% source compatible)


# b63b8181 28-Nov-2013 Dmitry Stogov

Some rare deprecated cases replaced by ZEND_ASSERT() (some extensions might need to be fixed)


# aa427a10 28-Nov-2013 Dmitry Stogov

Removed duplicated hash function implementation (100% source compatible)


Revision tags: php-5.5.7RC1, php-5.4.23RC1, php-5.4.22, php-5.5.6, php-5.4.22RC1, php-5.5.6RC1, php-5.4.21, php-5.5.5, php-5.4.21RC1, php-5.5.5RC1, php-5.5.4, php-5.4.20, php-5.5.4RC1, php-5.4.20RC1, php-5.5.3, php-5.4.19, php-5.5.2, php-5.4.18, php-5.5.2RC1, php-5.4.18RC2, php-5.5.1, php-5.4.18RC1, php-5.3.27
# 4749457a 08-Jul-2013 Veres Lajos

HASH_KEY_NON_EXISTANT fix


Revision tags: php-5.4.17, php-5.5.0, php-5.3.27RC1, php-5.4.17RC1
# 86434be9 17-Jun-2013 Nikita Popov

Fix bug #65051: count() off by one inside unset()

nNumOfElements was incremented after the pDestructor code, so any
code in the dtor would get a wrong number of elements.

Right

Fix bug #65051: count() off by one inside unset()

nNumOfElements was incremented after the pDestructor code, so any
code in the dtor would get a wrong number of elements.

Right now the bucket deletion code is replicated in four places,
it should probably be moved off into one function (or rather,
zend_hash_apply_deleter should be used everywhere). The codes are
subtly different though in that the HANDLE_UNBLOCK_INTERRUPTIONS()
happens in different places. In particular it seems odd that in
some cases interruptions stay blocked during the destructor call.

show more ...


# ae910840 17-Jun-2013 Nikita Popov

Remove unnecessary NULL checks from zend_hash

Our memory allocation functions (including the persistent ones)
are infallible, so no need to check for NULL.


1...<<11121314151617181920