History log of /PHP-8.1/ext/standard/array.c (Results 376 – 400 of 1077)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-5.6.15
# 179fba3f 29-Oct-2015 Xinchen Hui

Fixed bug #70808 (array_merge_recursive corrupts memory of unset items)

I knew, this fix seems ugly

Revision tags: php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5
# 3815e971 08-Oct-2015 Dmitry Stogov

Fixed bug #70668 (array_keys() doesn't respect references when $strict is true)

# 24e88348 06-Oct-2015 Dmitry Stogov

Revert "Merge branch 'array_keys_strict_refs' of https://github.com/tony2001/php-src"

This reverts commit a6be0f3fd6cdd59ac00ecd76630c6c04fee03417.

# a6be0f3f 05-Oct-2015 Bob Weinand

Merge branch 'array_keys_strict_refs' of https://github.com/tony2001/php-src

Revision tags: php-5.5.30, php-5.6.14, php-7.0.0RC4
# 560e4fa3 29-Sep-2015 Dmitry Stogov

Removed or simplified incorrect SEPARATE_*() macros usage.

# 8fe171a3 17-Sep-2015 Dmitry Stogov

Don't allocate memory for empty HashTables.

Revision tags: php-5.6.14RC1, php-7.0.0RC3
# c174e4cd 09-Sep-2015 Dmitry Stogov

Change array sorting implementation to avoid two level callbacks system.
Simplify zval comparion API.

# 2ea18cd4 09-Sep-2015 Dmitry Stogov

Better array_compare improvement

# 67d1a478 09-Sep-2015 Xinchen Hui

Improved array_compare

Revision tags: php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45
# 1f0f768e 26-Aug-2015 Dmitry Stogov

Avoid duplication

Revision tags: php-5.6.13RC1, php-7.0.0RC1
# 38c19d43 14-Aug-2015 Anatol Belski

fix array size calculation for range, related to bug #70239

# 01ee09f3 13-Aug-2015 Anatol Belski

Fixed bug #70239 Creating a huge array doesn't result in exhausted, but segfault

# dc5c6ab7 13-Aug-2015 Xinchen Hui

Fixed bug #70250 (extract() turns array elements to references)

Revision tags: php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44, php-5.6.12RC1, php-7.0.0beta2
# 4ac0d96f 18-Jul-2015 Nikita Popov

Deduplicate usort code

# df031961 18-Jul-2015 Nikita Popov

Correctly handle zend_hash_sort failure

This can't actually happen right now, but should it become possible
we won't be leaking everything anymore.

# 179c8a2a 18-Jul-2015 Nikita Popov

Fix usort modification detection

This would delref the wrong array, leading to a segfault.

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

1...<<11121314151617181920>>...44