History log of /PHP-7.4/ext/standard/array.c (Results 151 – 175 of 872)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.5.37
# 4042f543 20-Jun-2016 Dmitry Stogov

HANDLE_BLOCK/UNBLOCK_INTERRUPTIONS() protection on inter-process data is completely useless now.
Historicaly, these macros were introduced as a protection from execution timeout handling, but we

HANDLE_BLOCK/UNBLOCK_INTERRUPTIONS() protection on inter-process data is completely useless now.
Historicaly, these macros were introduced as a protection from execution timeout handling, but we don't need them anymore after "safe execution timeout" implementation.
These macros are still useful to protect from termination during inner process data modification, because of OS signals (e.g. SIGTERM during OPcache SHM update).

show more ...


# a9512af8 15-Jun-2016 Dmitry Stogov

Implemented RFC: Fix inconsistent behavior of $this variable
Squashed commit of the following:

commit bdd3b6895c3ce3eacfcf7d4bf4feb8dfa61801fd
Author: Dmitry Stogov <dmitry@zend.com>

Implemented RFC: Fix inconsistent behavior of $this variable
Squashed commit of the following:

commit bdd3b6895c3ce3eacfcf7d4bf4feb8dfa61801fd
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Jun 16 00:19:42 2016 +0300

Fixed GOTO VM

commit 2f1d7c8b89ce821086d357cf65f629f040a85c03
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Jun 15 21:01:57 2016 +0300

Removed unused variable

commit cf749c42b0b1919f70b1e7d6dcbfff76899506af
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Jun 15 19:06:16 2016 +0300

Protection from $this reassign through mb_parse_str()

commit 59a9a6c83c66b666971e57f1173b33a422166efd
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Jun 15 18:14:50 2016 +0300

Added type inference rule for FETCH_THIS opcode

commit 73f8d14a856f14a461430b3c7534ab2ce870cbf6
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Jun 15 18:11:18 2016 +0300

Restored PHP-7 behavior of isset($this->foo).
It throws exception if not in object context.
Removed useless opcode handlers.

commit fa0881381e8ae97e022ae5d1ec0851c952f33c82
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue May 31 12:25:47 2016 +0300

Changed "Notice: Undefined variable: this" into "Exception: Using $this when not in object context".

commit e32cc528c0f2c97963d8ec83eff0269f1f45af18
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue May 24 02:02:43 2016 +0300

Throw exception on attempt to re-assign $this through extract() and parse_str().

commit 41f1531b52113ec8a4c208aa6b9ef50f1386bb3f
Author: Dmitry Stogov <dmitry@zend.com>
Date: Mon May 23 22:18:36 2016 +0300

Fixed inconsistent $this behavior

show more ...


# 42f23eff 13-Jun-2016 Xinchen Hui

Value should not be a reference here


# b602495e 09-Jun-2016 Dmitry Stogov

Optimization


# bfcf3223 09-Jun-2016 Dmitry Stogov

Fixed bug #72369 (array_merge() produces references in PHP7)


Revision tags: php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22, php-5.5.36, php-7.0.7, php-5.6.22RC1, php-7.0.7RC1, php-7.0.6, php-5.6.21, php-5.5.35
# 91f59403 24-Apr-2016 Nikita Popov

Forbid dynamic calls to scope introspection functions

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


Revision tags: php-5.6.21RC1
# 0e21742b 16-Apr-2016 Thomas Punt

Tidy up


# 367fde99 16-Apr-2016 Thomas Punt

Remove unnecessary boundary checks


# 39052d4d 15-Apr-2016 Thomas Punt

Resolve bug #72017


# 74ef863f 28-Apr-2016 Bob Weinand

Fixed bug #72116 (7.0.6 array_fill optimization breaks implementation)


# 6499162f 28-Apr-2016 Dmitry Stogov

- get rid of EG(scope). zend_get_executed_scope() should be used instead.
- ichanged zval_update_constant_ex(). Use IS_TYPE_IMMUTABLE flag on shared constants and AST, instead of "inline_change"

- get rid of EG(scope). zend_get_executed_scope() should be used instead.
- ichanged zval_update_constant_ex(). Use IS_TYPE_IMMUTABLE flag on shared constants and AST, instead of "inline_change" parameter.

show more ...


# d8590940 16-Apr-2016 Nikita Popov

Use symtable lookup for arrays in array_column


# 28801bf2 16-Apr-2016 Nikita Popov

Respect property visibility in array_column


# c0d8dc5b 15-Apr-2016 Nikita Popov

Fixed bug #72031


Revision tags: php-7.0.6RC1
# b31240f9 06-Apr-2016 Dmitry Stogov

Optimized array_fill(). This is a perfect function for fast creation of packed arrays.


Revision tags: php-5.6.20, php-5.5.34, php-7.0.5, php-5.6.20RC1, php-7.0.5RC1, php-5.6.19, php-5.5.33, php-7.0.4, php-5.6.19RC1, php-7.0.4RC1, php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1
# b1e854f7 12-Jan-2016 Nikita Popov

Fix bug #71334

Always duplicate the array before doing a sort with user-defined
comparison function, to avoid access to the intermediate
inconsistent state.

I've also droppe

Fix bug #71334

Always duplicate the array before doing a sort with user-defined
comparison function, to avoid access to the intermediate
inconsistent state.

I've also dropped the "array modification" warning, as protection
against modifications is no longer relevant if we're always working
on a copy anyway.

This also required some changes to how SplArray forwards calls to
sorting functions.

show more ...


# 345ecd98 17-Mar-2016 Xinchen Hui

Fixed #71837 (Wrong arrays behaviour)


# ab800642 02-Mar-2016 Dmitry Stogov

Introduce zend_symtable_exists_ind() for API consistency


# 2d4186dd 02-Mar-2016 Xinchen Hui

Use hash_exists_ind in symbol table


# 961c8d56 01-Mar-2016 Xinchen Hui

Maybe we should introduce a symtable_exists_ind


# 186844be 01-Mar-2016 Xinchen Hui

Fixed bug #71695 (Global variables are reserved before execution).

Instead of slow down hash_merge, we may also check the array(whether it
contains INDIRECT) outside of the loop, however

Fixed bug #71695 (Global variables are reserved before execution).

Instead of slow down hash_merge, we may also check the array(whether it
contains INDIRECT) outside of the loop, however, consisdering hash_merge
is not widly used, I prefer fix this in the current way to keep the
codes simple

show more ...


# c299b272 25-Feb-2016 Xinchen Hui

Fixed bug #71660 (array_column behaves incorrectly after foreach by reference)


# 0fccd154 16-Feb-2016 Xinchen Hui

Fixed bug #71603 (compact() maintains references in php7)


# e917402f 15-Feb-2016 Xinchen Hui

Fixed typo (I think it should be a typo)


# 7f474086 13-Feb-2016 Nikita Popov

Fix extract() overwriting its own argument

Already covered by bug46873.phpt under valgrind.


12345678910>>...35