History log of /PHP-7.3/ext/spl/spl_array.c (Results 76 – 100 of 375)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.13RC1
# 484b9291 19-Aug-2015 Christoph M. Becker

Fix #70303: Incorrect constructor reflection for ArrayObject

The first parameter of ArrayObject::__construct() is optional. Reflection
should reflect this.


Revision tags: php-7.0.0RC1, php-5.6.12, php-5.5.28
# feeb2fba 05-Aug-2015 Stanislav Malyshev

fix merge


Revision tags: php-7.0.0beta3, php-5.4.44
# 3e416bba 04-Aug-2015 Stanislav Malyshev

fix merge


# 7381b6ac 02-Aug-2015 Stanislav Malyshev

Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject


# b7fa6774 27-Jul-2015 Stanislav Malyshev

Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)


Revision tags: php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 7ec1e174 06-Jul-2015 Aaron Piotrowski

Update memory freeing and other issues, revert some changes


# 907476f3 05-Jul-2015 Aaron Piotrowski

Convert E_ERROR to thrown Error in extensions


# 53403fe5 30-Jun-2015 Dmitry Stogov

Get rid of ZVAL_ZVAL() macro usages. Replace them with more clear and optimal equialent sequences.


# 4a2e40bb 30-Jun-2015 Dmitry Stogov

Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).


# 4bd22cf1 29-Jun-2015 Dmitry Stogov

Improved zend_string API (Francois Laupretre)

Squashed commit of the following:

commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>

Improved zend_string API (Francois Laupretre)

Squashed commit of the following:

commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>
Date: Fri Jun 26 01:23:31 2015 +0200

Use the new 'ZSTR' macros in the rest of the code.

Does not change anything to the generated code (thanks to compat macros) but cleaner.

commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8
Author: Francois Laupretre <francois@tekwire.net>
Date: Thu Jun 25 13:45:06 2015 +0200

Improve zend_string API

Add missing methods

show more ...


Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2
# 6ae375db 16-Jun-2015 Dmitry Stogov

Fixed bug #69845 (ArrayObject with ARRAY_AS_PROPS broken)


Revision tags: php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1
# 4e03ba4a 16-Apr-2015 Nikita Popov

Add GC support for ArrayObject

gc_024 test changes because the array that ArrayObject holds is
now counted separately from the ArrayObject.


# e0a39eec 25-Apr-2015 Nikita Popov

Respect USE_OTHER in spl_array_is_object

Also a bit of code cleanup in get_hash_table.


# 66ce7cc0 25-Apr-2015 Nikita Popov

Don't store $this reference for IS_SELF AO

The var_dump output changes in array_022.phpt were wrong previously,
the "storage" that was referenced there was not the actually used
stor

Don't store $this reference for IS_SELF AO

The var_dump output changes in array_022.phpt were wrong previously,
the "storage" that was referenced there was not the actually used
storage.

show more ...


# 3140d0c0 24-Apr-2015 Nikita Popov

Drop ArrayObject IS_REF flag


# 6c98024f 16-Apr-2015 Nikita Popov

Drop unused is_self member


# dc764bf6 15-Apr-2015 Nikita Popov

Use object apply count in var_dump / print_r

Instead of using the array apply count on the debug_info array, use
the object apply count for recursion detection when dumping. This
han

Use object apply count in var_dump / print_r

Instead of using the array apply count on the debug_info array, use
the object apply count for recursion detection when dumping. This
handles recursion in a more generic way and does not require each
debug_info handler to deal with this.

This allows returning a temporary debug_info array, instead of
having to store it in the object (thus delaying destruction of the
values).

Switch SPL debug_info handlers to use a temporary array.

show more ...


# eed18f0e 15-Apr-2015 Nikita Popov

Return null on zpp failure in Array::exchangeArray()

Method was still returning a value despite zpp failing previously...


# e10be0d0 15-Apr-2015 Nikita Popov

Remove unnecessary retval members in SPL

This is what the rv params are for. Avoid holding onto values
longer than necessary.


Revision tags: php-5.6.8, php-5.5.24, php-5.4.40
# 2b6a568d 09-Apr-2015 Dmitry Stogov

Changed ArrayIterator implementation using zend_hash_iterator_... API. Allowed modification of itterated ArrayObject using the same behavior as proposed in `Fix "foreach" behavior`. Removed "Array wa

Changed ArrayIterator implementation using zend_hash_iterator_... API. Allowed modification of itterated ArrayObject using the same behavior as proposed in `Fix "foreach" behavior`. Removed "Array was modified outside object and internal position is no longer valid" hack.

show more ...


# f23f7dfe 08-Apr-2015 Xinchen Hui

Use new macros


# 122d7596 02-Apr-2015 Nikita Popov

Always throw TypeException on throwing zpp failures

Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to
report FAILURE errors using a TypeException instead of a Warning,

Always throw TypeException on throwing zpp failures

Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to
report FAILURE errors using a TypeException instead of a Warning,
like it would happen in strict mode.

Adds a zend_parse_parameters_throw() convenience function, which
invokes zpp with this flag.

Converts all cases I could identify, where we currently have
throwing zpp usage in constructors and replaces them with this API.
Error handling is still replaced to EH_THROW in some cases to handle
other, domain-specific errors in constructors.

show more ...


# dcaa7954 03-Apr-2015 Dmitry Stogov

Don't relay on reference-counter when parameter expected to be a reference, but value given.


Revision tags: php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39
# 8d003858 15-Mar-2015 Nikita Popov

Reclassify E_STRICT notices

Per RFC https://wiki.php.net/rfc/reclassify_e_strict

While reviewing this, found that there are still three E_STRICTs
left in libraries - need to dis

Reclassify E_STRICT notices

Per RFC https://wiki.php.net/rfc/reclassify_e_strict

While reviewing this, found that there are still three E_STRICTs
left in libraries - need to discuss those.

show more ...


# 2b42d719 13-Mar-2015 Dmitry Stogov

Changed HashTable layout:

Removed HashTable->arHash (reduced memory consumption). Now hash slots may be accessed using HT_HASH() macro.
Hash slotas are allocated together with Buckets (b

Changed HashTable layout:

Removed HashTable->arHash (reduced memory consumption). Now hash slots may be accessed using HT_HASH() macro.
Hash slotas are allocated together with Buckets (before them) and lay in reverse order from HashTable->arData base address (see comments in Zend/zend_types.h)
Indexes in hash table and conflict resolution chains (Z_NEXT) may be stored as indeces or offsets in bytes, depending on system (32 or 64-bit).
HashTable data filelds are reordered to keep the most useful for zend_hash_find() data in the same CPU cache line.

show more ...


12345678910>>...15