History log of /PHP-7.2/ext/standard/array.c (Results 126 – 150 of 792)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 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 ...


# 3bf012a9 26-Jun-2015 Tjerk Meesters

Feature: Enhanced array_column() to also work with object elements.


Revision tags: php-5.6.11RC1, php-5.5.27RC1
# 28d7bb97 23-Jun-2015 Rasmus Lerdorf

Fix more proto comments


Revision tags: php-7.0.0alpha2
# b97df475 22-Jun-2015 Dmitry Stogov

Fixed crash in Zend/tests/bug69891.phpt on x86 (32-bit).
compare_function() now has to be compatible with binary_op_type (use fastcall convention).
Introduced new zval_compare_function() to b

Fixed crash in Zend/tests/bug69891.phpt on x86 (32-bit).
compare_function() now has to be compatible with binary_op_type (use fastcall convention).
Introduced new zval_compare_function() to be used as zval comparison callback instead of compare_function().

show more ...


# f75308ed 20-Jun-2015 Xinchen Hui

Micro optimization


# a0b3fd78 17-Jun-2015 Dmitry Stogov

Improved variable name validation


# fb346c8f 16-Jun-2015 Nikita Popov

Support references in convert_to_*

conver_to_* functions now accept REFERENCE values, which will be
unwrapped before performing the usual conversion. This is consistent
with convert_

Support references in convert_to_*

conver_to_* functions now accept REFERENCE values, which will be
unwrapped before performing the usual conversion. This is consistent
with convert_scalar_to_number and matches the expected behavior in
a couple random use-sites I checked.

Also includes a couple fixes/cleanups elsewhere and two tests for
cases that previously didn't work (though the reference issue existed
all over the place).

show more ...


# 1c754f0b 12-Jun-2015 Dmitry Stogov

Get rid of more ZVAL_ZVAL() macros


# 8e10e8f9 12-Jun-2015 Dmitry Stogov

Avoid zval duplication in ZVAL_ZVAL() macro (it was necessary only in few places).
Switch from ZVAL_ZVAL() to simpler macros where possible (it makes sense to review remaining places)


# 5d3cf577 11-Jun-2015 Nikita Popov

Make convert_to_* safe with rc>1

This only involves switching zval_dtor to zval_ptr_dtor for arrays
and making the convert_to_object for arrays a bit more generic.

All the other

Make convert_to_* safe with rc>1

This only involves switching zval_dtor to zval_ptr_dtor for arrays
and making the convert_to_object for arrays a bit more generic.

All the other changes outside zend_operators.c just make use of
this new ability (use COPY instead of DUP).

What's still missing: Proper references handling. I've seen many
convert_to* calls that will break when a reference is used.

Also fixes bug #69788.

show more ...


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
# ed8d1ba7 29-May-2015 Xinchen Hui

Fixed bug #69723 (Passing parameters by reference and array_column)


Revision tags: php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9
# 8bdec7a2 13-May-2015 olshevskiy87

fix typos

Signed-off-by: olshevskiy87 <olshevskiy87@bk.ru>


Revision tags: php-5.4.41, php-5.6.9RC1
# d880ead8 29-Apr-2015 Dmitry Stogov

Improve fast_is_[not_]identical() functions to teturn value instead of takeing additional arguments.
Pair INSTANCEOF with the following JMPZ/JMPNZ.


Revision tags: php-5.5.25RC1
# 40e465e3 25-Apr-2015 Nikita Popov

Clean up some type conversions

While at it also fix some type checks in iconv and drop dead and
unported code in standard/filters.


Revision tags: php-5.6.8, php-5.5.24, php-5.4.40
# 94bea670 10-Apr-2015 Nikita Popov

Fix bug #69413


# f23f7dfe 08-Apr-2015 Xinchen Hui

Use new macros


# b6aeab1b 05-Apr-2015 Xinchen Hui

Fixed bug #69371 (Hash table collision leads to inaccessible array keys)


# fa15ac4c 04-Apr-2015 Nikita Popov

Fix separation in array_multisort

This manifested in Zend/tests/bug52939.phpt when running without
opcache (no immutablization).


# af812eac 01-Apr-2015 Xinchen Hui

Micro opt


Revision tags: php-5.6.8RC1, php-5.5.24RC1
# d55d10c7 25-Mar-2015 Xinchen Hui

Fixed bug #69299 (Regression in array_filter's $flag argument in PHP 7)


# 774b113b 25-Mar-2015 Anatol Belski

fix datatype mismatches


Revision tags: php-5.6.7, php-5.5.23, php-5.4.39
# 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 ...


# 86336856 12-Mar-2015 Dmitry Stogov

Use specialized macro for string zval creation


Revision tags: php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS
# 77dd2111 28-Feb-2015 Дмитрий Пацура

Array - make krsort FAST_ZPP compatibility


12345678910>>...32