History log of /php-src/Zend/zend_hash.c (Results 76 – 100 of 496)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 32fb2d93 16-Apr-2019 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4


# 9a9eed47 16-Apr-2019 Nikita Popov

Fix second part of bug #77903

When a HT iterator is one past the end and we rehash, we need to make
sure that it is move to the new one past the end position, to make
sure that newly

Fix second part of bug #77903

When a HT iterator is one past the end and we rehash, we need to make
sure that it is move to the new one past the end position, to make
sure that newly inserted elements are picked up.

show more ...

# e1b4cabb 16-Apr-2019 Nikita Popov

Partial fix for bug #77903

In the hash position APIs, make sure we always advance to the next
non-undef element and not just when the position is 0 (similar to
what foreach does). Th

Partial fix for bug #77903

In the hash position APIs, make sure we always advance to the next
non-undef element and not just when the position is 0 (similar to
what foreach does). This can happen when the position of an
ArrayIterator is one past its current end and a new element is
inserted not directly at that position because the array is packed.

There is still a bug here (as shown in the tests), but this is a
separate issue that also affects plain array iteration in foreach.

show more ...

# 30d96895 10-Apr-2019 Nikita Popov

Merge branch 'PHP-7.4'


# 2191eac3 10-Apr-2019 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4


# 6615b9c2 10-Apr-2019 Nikita Popov

Merge branch 'PHP-7.2' into PHP-7.3


# c7a86a38 10-Apr-2019 Nikita Popov

Fix pgsql use after free trying to reuse closed connection

When a connection is closed, we also need to remove the hash entry
from the regular_list, as it now points to freed memory. To

Fix pgsql use after free trying to reuse closed connection

When a connection is closed, we also need to remove the hash entry
from the regular_list, as it now points to freed memory. To do this
store a reverse mapping from the connection to the hash string.

It would be nicer to introduce a wrapping structure for the pgsql
link resource that could store the hash (and notices), but that would
require large changes to the extension, so I'm going for a more
minimal fix here.

show more ...

Revision tags: php-7.3.4RC1, php-7.2.17RC1
# e86cdce5 11-Mar-2019 rjhdby

Make zend_hash_sort() return void

This function always succeeds, so remove the success indicator
return value.

Revision tags: php-7.1.27, php-7.3.3, php-7.2.16, php-7.3.3RC1, php-7.2.16RC1, php-7.2.15, php-7.3.2, php-7.2.15RC1
# 67320282 29-Jan-2019 Pedro Magalhães

Implement the negative_array_index RFC

# 92ac598a 22-Jan-2019 Peter Kokot

Remove local variables

This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly

Remove local variables

This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.

A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.

This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.

With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.

Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files. All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.

show more ...

# a81202ac 30-Jan-2019 Zeev Suraski

Adios, yearly copyright ranges

Revision tags: php-7.3.2RC1, php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14
# 76d8f392 28-Dec-2018 Dmitry Stogov

Revert HASH_FLAG_INITIALIZED into HASH_FLAG_UNINITIALIZED.

# d6f46522 20-Dec-2018 Dmitry Stogov

Added specialized code for small arrays

# dddf3c50 19-Dec-2018 Dmitry Stogov

Added specialized code for small arrays

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
# 9afce019 01-Nov-2018 Zeev Suraski

Future-proof email addresses

# 54dc07f3 01-Nov-2018 Zeev Suraski

Update email addresses. We're still @Zend, but future proofing it...

Revision tags: php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4, php-7.1.23, php-7.2.11, php-7.3.0RC3
# c2c20219 04-Oct-2018 Pedro Magalhães

Use HT_MIN_SIZE when duplicating an empty array

Revision tags: php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2
# 27b0fecd 19-Sep-2018 Dmitry Stogov

Turn zend_hash_exists() into inline function

# dfa166e7 16-Sep-2018 Nikita Popov

Remove unused ZEND_FILE_LINE in i_zval_ptr_dtor

# 7eb255e9 14-Sep-2018 Dmitry Stogov

Merge branch 'PHP-7.3'

* PHP-7.3:
Fixed bug #76800 (foreach inconsistent if array modified during loop)


# 17c7b710 14-Sep-2018 Dmitry Stogov

Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
Fixed bug #76800 (foreach inconsistent if array modified during loop)


# 3bc4a63f 14-Sep-2018 Dmitry Stogov

Fixed bug #76800 (foreach inconsistent if array modified during loop)

Revision tags: php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32
# 437e91e1 03-Sep-2018 Dmitry Stogov

Keep collision list ordered from higher to lower buckets.

Revision tags: php-7.1.22RC1
# cd9f0a22 28-Aug-2018 Dmitry Stogov

Perform run-time binding reusing HashTable bucket (without new bucket insertion).

Revision tags: 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
# 5674cf88 30-Jul-2018 Dmitry Stogov

Use better macros

12345678910>>...20