History log of /PHP-5.5/Zend/zend_hash.c (Results 126 – 150 of 189)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 755207a1 16-May-2001 Zeev Suraski

Implement zend_hash_add_empty_element() using the existing infrastructure


Revision tags: php-4.0.6RC1
# bb472e70 14-May-2001 Sascha Schumann

Initialize empty pDataPtr to a pseudo value to prevent a pefree on
pData.


# 3efa08aa 11-May-2001 Sascha Schumann

Some extensions don't associate any data with hash entries,
except the key. Prior to this change, a separate chunk of memory
was allocated in that case to store exactly zero bytes (plus

Some extensions don't associate any data with hash entries,
except the key. Prior to this change, a separate chunk of memory
was allocated in that case to store exactly zero bytes (plus
memory manager overhead). We treat that case similar to the
pointer case, but don't copy any data at all (because the pointer
is usually the NULL pointer).

show more ...


Revision tags: php-4.0.5
# 4e71bbed 28-Apr-2001 Zeev Suraski

include limits.h if available


# acd56b08 27-Apr-2001 Andi Gutmans

- More whitespace fixes while I'm at it.


Revision tags: php-4.0.5RC8, php-4.0.5RC7, php-4.0.5RC6, php-4.0.5RC5, php-4.0.5RC4, php-4.0.5RC3, php-4.0.5RC2, php-4.0.5RC1
# d2c9e807 26-Feb-2001 Andi Gutmans

- Update copyright year


Revision tags: php-4.0.4pl1, php-4.0.4pl1RC2, php-4.0.4pl1RC1
# 36eaad25 22-Dec-2000 Zeev Suraski

Allow get_current_key() not to return the key itself, instead of a duplicate


# 0fcce4a7 22-Dec-2000 Zeev Suraski

@* Fixed a possible crash in get_class_methods() (Zeev)


Revision tags: php-4.0.4REL, php-4.0.4RC6, php-4.0.4RC5, php-4.0.4RC4
# fb87cc8c 06-Dec-2000 Sascha Schumann

INIT_DATA/UPDATE_DATA assumed that pData elements of the size of a void
pointer would actually be aligned like a void pointer. This lead
to bus errors on architectures which don't allow unali

INIT_DATA/UPDATE_DATA assumed that pData elements of the size of a void
pointer would actually be aligned like a void pointer. This lead
to bus errors on architectures which don't allow unaligned 32-bit accesses.

show more ...


Revision tags: php-4.0.4RC3, php-4.0.3
# e9887156 11-Oct-2000 Andi Gutmans

Don't use 'new' symbol


# 9aa38aad 11-Oct-2000 Zeev Suraski

Add zend_hash_merge_ex(), for selective merging


Revision tags: php-4.0.3RC2, php-4.0.3RC1
# c4fd954b 28-Sep-2000 Andi Gutmans

- Another has optimization/fix like the hash_copy one from earlier on


# 56c474cf 28-Sep-2000 Stanislav Malyshev

Make hash_copy call copy constructor on a real copy, not on a temp


Revision tags: php-4.0.2, PRE_LIBMYSQL_REVERT, php-4.0.2RC1, PRE_FILE_COMPILE_API_CHANGE
# a650dd8a 18-Jul-2000 Zeev Suraski

This is probably the oldest bug in PHP :)
Luckily it's unlikely we're ever actually bitten by this bug.


# 1263932a 11-Jul-2000 Zeev Suraski

Disable the hash_apply() protection on hashes that persist across requests - it's unsafe
because we may be aborted at any point


Revision tags: PRE_METHOD_CALL_SEPERATE_FIX_PATCH, php-4.0.1pl1, php-4.0.1, php-4.0.1RC2, php-4.0.1RC
# 38cdb8e7 17-Jun-2000 Zeev Suraski

Avoid crashing with recursive applies - limit apply nest level to 3 (I'm not aware of a place
in which applying recursively on the same hash makes sense with more than one nest level, but
3 s

Avoid crashing with recursive applies - limit apply nest level to 3 (I'm not aware of a place
in which applying recursively on the same hash makes sense with more than one nest level, but
3 should be enough)

show more ...


Revision tags: PRE_EIGHT_BYTE_ALLOC_PATCH
# bfac4633 04-Jun-2000 Zeev Suraski

- Support unordered hash comparisons
- Make == perform an unordered comparison with arrays/objects, and === perform an ordered comparison


# dae76aa1 03-Jun-2000 Zeev Suraski

Support comparisons of arrays (with arrays) and objects (with objects)


# 0b7a9cea 03-Jun-2000 Zeev Suraski

- Fix Win32 compilation (Use winsock2.h from now on)
- Add lambda() support


Revision tags: php-4.0.0, php-4.0RC2
# 8ca13c97 02-May-2000 Zeev Suraski

Change zend_hash_get_current_key_ex() to also return the string length


Revision tags: PHP-4.0-RC1
# 6db18997 24-Mar-2000 Andi Gutmans

- Nuke hash_*_ptr functions


# ee286feb 15-Mar-2000 Andrei Zmievski

Make zend_hash_move_forward()/zenv_hash_move_backwards() a little smarter.


# a32c54bd 13-Mar-2000 Andrei Zmievski

Introduced a way to traverse hashes through external pointers.


# 5e55e47f 06-Mar-2000 Zeev Suraski

It's official now...


Revision tags: php-4.0b4pl1, php-4.0b4, php-4.0b4_rc1
# 0ac9536d 19-Feb-2000 Zeev Suraski

(c) patch


12345678