History log of /PHP-7.2/ext/standard/array.c (Results 26 – 50 of 792)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 2649a9e1 17-May-2017 Dmitry Stogov

Removed useless dereferences


Revision tags: php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18
# c8034514 02-Apr-2017 Nikita Popov

Fixed bug #74361


Revision tags: php-7.1.4RC1, php-7.0.18RC1
# 932c4b35 16-Mar-2017 Thomas Punt

Remove more unnecessary checks on Zend's allocator functions


# 131fd3ba 14-Mar-2017 Sara Golemon

Remove unnecesary shadow of new_val


# c74bc87c 14-Mar-2017 Sara Golemon

Minor optimizations to array_keys()/array_values()

array_values():
When the input is an empty array or a packed array with no gaps,
return the original array.

array_keys():

Minor optimizations to array_keys()/array_values()

array_values():
When the input is an empty array or a packed array with no gaps,
return the original array.

array_keys():
When the input is an empty array, return the original array.
When the input is a packed array with no holes
(and no search key specified), populate the return with
a simple range(0, count($input) - 1)

show more ...


Revision tags: php-7.1.3, php-7.0.17
# c6982995 04-Mar-2017 Anatol Belski

Interned strings unification for TS/NTS

Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings

- interning per process, st

Interned strings unification for TS/NTS

Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings

- interning per process, strings are not freed till process end
- interning per request, strings are freed at request end

There is no runtime interning.

With Opcache, all the permanent iterned strings are copied into SHM on
startup, additional copying into SHM might happen on demand.

show more ...


Revision tags: php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1
# b7552ff3 21-Jan-2017 Levi Morrison

Remove trailing tabs


# 1f7bf2bf 20-Jan-2017 Dmitry Stogov

Optimized extract(). Avoided double hash lookups and repeatable checks through loop splitting.


Revision tags: php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 1b0edb3c 30-Dec-2016 Sara Golemon

Use new param API in standard/array


Revision tags: php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0
# b204b3ab 26-Nov-2016 Anatol Belski

further normalizations, uint vs uint32_t

fix merge mistake

yet one more replacement run


Revision tags: php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12
# aaf7341b 04-Oct-2016 Craig Duncan

Add warnings when counting invalid parameters


Revision tags: php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11, php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1
# 55d17662 26-Aug-2016 Adam Saponara

Fix bug #71241: array_replace_recursive mutates ref params

`array_replace_recursive` can sometimes mutate its params if
references are nested within. This differs from the PHP 5 behavior.


# 9ded1b4e 19-Oct-2016 Dmitry Stogov

Introduced HT_IS_PACKED() and HT_IS_WITHOUT_HOLES() macros. (Benjamin Coutu)


# d690014b 11-Sep-2016 Andrea Faulds

Remove zpp fallback code (always use Fast ZPP)

Squashed commit of the following:

commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c
Author: Andrea Faulds <ajf@ajf.me>
Date: S

Remove zpp fallback code (always use Fast ZPP)

Squashed commit of the following:

commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Sep 11 19:14:37 2016 +0100

Keep dummy FAST_ZPP macro for compatibility

commit 8a7cfd00deaa4a3c5026c97580c49c886c72a5b4
Author: Andrea Faulds <ajf@ajf.me>
Date: Mon Sep 5 22:36:03 2016 +0100

Remove FAST_ZPP macro and plain zpp fallback code

show more ...


# e0e50631 04-Sep-2016 Nikita Popov

Drop some pieces of commented-out code


# 1d64b4c7 01-Sep-2016 Anatol Belski

avoid needless function call


# 00c2c3a4 01-Sep-2016 Márcio Almada

fix unintentional bc break with compact('this') behavior


Revision tags: php-7.1.0beta3, php-5.6.25
# 447e57a1 17-Aug-2016 Kalle Sommer Nielsen

Fixed 7.1 build, decls first please!


Revision tags: php-7.0.10
# 1e4cae28 17-Aug-2016 Kalle Sommer Nielsen

Seems like I did a bad merge earlier, this should make PHP-7.0 sync with 7.1/master properly now


# 9b783107 17-Aug-2016 Kalle Sommer Nielsen

Fix build as done in master in commit 040331c36462eac94308bbef3200ee11389ca444

The reason why we cannot use round() here, is that it does not come with the standard C library on Windows, I d

Fix build as done in master in commit 040331c36462eac94308bbef3200ee11389ca444

The reason why we cannot use round() here, is that it does not come with the standard C library on Windows, I don't think this affects other systems.

At the same time, also expose _php_math_round()

show more ...


# cf017ce1 08-Aug-2016 Nikita Popov

Fix array_column() packed hash initialization

FILL assumes enough space is alredy allocated -- do that. Note that
the used size is an upper bound, albeit a likely one.


Revision tags: php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1
# 6d1f4732 03-Aug-2016 Xinchen Hui

It's packed array


12345678910>>...32