History log of /PHP-7.1/Zend/zend_vm_execute.h (Results 176 – 200 of 1318)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9e44b6a6 17-Dec-2015 Dmitry Stogov

Fixed incorrect exception handling


# 56f11061 14-Dec-2015 Nikita Popov

Use FETCH_CLASS_EXCEPTION for instanceof

This does not collide with NO_AUTOLOAD -- missing classes will be
silenced, but invalid use of self etc will result in an exception
instead o

Use FETCH_CLASS_EXCEPTION for instanceof

This does not collide with NO_AUTOLOAD -- missing classes will be
silenced, but invalid use of self etc will result in an exception
instead of a fatal error.

show more ...


# 7078627d 14-Dec-2015 Nikita Popov

Fix leaks due to UNUSED CE fetch


# 09191789 14-Dec-2015 Nikita Popov

Add result op for ASSERT_CHECK to fix SSA

Otherwise one source of the phi node at the join point will be
borked.

I'm marking the ASSERT_CHECK result as unused in pass2, which is

Add result op for ASSERT_CHECK to fix SSA

Otherwise one source of the phi node at the join point will be
borked.

I'm marking the ASSERT_CHECK result as unused in pass2, which is
a bit ugly.

show more ...


# e8864c39 13-Dec-2015 Nikita Popov

Don't check non-CVs for UNDEF in BOOL(_NOT)


# 2589dd12 12-Dec-2015 Nikita Popov

Drop superfluous assignment

And fix a branch annotation.


# 8e5e3301 10-Dec-2015 Nikita Popov

Make ZEND_CLONE return a TMP_VAR

As the return value can't be reference and it's unlikely to be
unused.

Also remove some unnecessary checks for ce==NULL. A ce is required
no

Make ZEND_CLONE return a TMP_VAR

As the return value can't be reference and it's unlikely to be
unused.

Also remove some unnecessary checks for ce==NULL. A ce is required
nowadays.

show more ...


# 37f34252 10-Dec-2015 Nikita Popov

Fix Foo::${42} and similar

Fixes segfault on direct use, segfault on opcache evaluated use,
leak on temporary use.

Fixes analogeous segfault for ${42} on opcache eval as well.


# a75c1950 08-Dec-2015 Dmitry Stogov

Implemented the RFC `Support Class Constant Visibility`.

Squashed commit of the following:

commit f11ca0e7a57793fa0e3e7f6d451720e6c42bb0b9
Author: Dmitry Stogov <dmitry@zend.com

Implemented the RFC `Support Class Constant Visibility`.

Squashed commit of the following:

commit f11ca0e7a57793fa0e3e7f6d451720e6c42bb0b9
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue Dec 8 12:38:42 2015 +0300

Fixed test expectation

commit 211f873f542504d0a0f72b6b5cb23908a1c99a2d
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue Dec 8 12:28:38 2015 +0300

Embed zend_class_constant.flags into zend_class_constants.value.u2.access_flags

commit 51deab84b2cdbf9cdb1a838cf33b2ee45c61748b
Author: Dmitry Stogov <dmitry@zend.com>
Date: Mon Dec 7 11:18:55 2015 +0300

Fixed issues found by Nikita

commit 544dbd5b47e40d38a8ccb96bc5583e9cb7fdd723
Author: Dmitry Stogov <dmitry@zend.com>
Date: Sat Dec 5 02:41:05 2015 +0300

Refactored immplementation of https://wiki.php.net/rfc/class_const_visibility
@reeze created an RFC here and I emailed internals here and didn't get any responses positive/negative.

show more ...


# 25c5d185 30-Nov-2015 Dmitry Stogov

Fixed bug #70997 (When using parentClass:: instead of parent::, static context changed)


# 7d80ab2e 16-Nov-2015 Xinchen Hui

Addtional fixes of #70918


# 06fe9564 15-Nov-2015 Xinchen Hui

Fixed Bug #70918 (Segfault using static outside of class scope)


# 3a5fa926 13-Nov-2015 Dmitry Stogov

Squashed commit of the following:

commit afe963e6cc289696e60c6c679796ba2197c52b3b
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 13 15:32:29 2015 +0300

Added ne

Squashed commit of the following:

commit afe963e6cc289696e60c6c679796ba2197c52b3b
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 13 15:32:29 2015 +0300

Added news entry

commit a126b891c97848dd7ef8f1abf716328c46e0f19c
Author: Dmitry Stogov <dmitry@zend.com>
Date: Fri Nov 13 15:29:21 2015 +0300

VERIFY_RETURN_TYPE doesn't have to cleanup operand on exception, bacause now, live temporary variables are released by exception unwinder.

commit 0db475e98786e6bcaa8401ee3e0b33743b9a2f2b
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Nov 12 22:55:39 2015 +0300

Fixed copy/paste

commit 0ac73fe7174bec9de9a610319a98b259bea67f7f
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Nov 11 16:11:50 2015 +0300

Fixed bug #62210 (Exceptions can leak temporary variables)

show more ...


# 948b7f54 11-Nov-2015 Dmitry Stogov

Changed ZEND_FREE.op2.num and ZEND_FE_FREE.op2.num back to use live_range_offset (try_catch_offset does't work)


# 71092b7c 10-Nov-2015 Dmitry Stogov

Make FE_FETCH and following assignments to be a part of a loop.


# 86a96f2c 10-Nov-2015 Dmitry Stogov

Changed meaning of "op2" for ZEND_FREE, ZEND_FE_FREE, ZEND_FAST_CALL, ZEND_FAST_RET.
Previously it was an instruction number.
Now it's an index in op_array->try_cacth_array[].


# d66d1b97 10-Nov-2015 Dmitry Stogov

Fixed incorrect order of free/finally on exception


# 2f2653aa 04-Nov-2015 Xinchen Hui

Fixed bug #70805 (Segmentation faults whilst running Drupal 8 test suite)


# eb7be537 27-Oct-2015 Dmitry Stogov

Speed up fetching of class entries for self:: parent:: and static::

This is generalized solution for Bob's idea of speed up self::method() calls without ZEND_FETCH_CLASS.

At first,

Speed up fetching of class entries for self:: parent:: and static::

This is generalized solution for Bob's idea of speed up self::method() calls without ZEND_FETCH_CLASS.

At first, it adds few new opcodes to separate class related behaviour:
FETCH_STATIC_PROP_R
FETCH_STATIC_PROP_W
FETCH_STATIC_PROP_RW
FETCH_STATIC_PROP_FUNC_ARG
FETCH_STATIC_PROP_UNSET
FETCH_STATIC_PROP_IS
UNSET_STATIC_PROP
ISSET_ISEMPTY_STATIC_PROP
FETCH_CLASS_CONSTANT

At seconds, it enables IS_UNUSED operand to fetch (self, parent or static without separate FETCH_CLASS) for new opcodes and the following ones:
INIT_STATIC_METHOD_CALL
NEW
END_INSTANCEOF

Finaly, opcache optimizer had to be fixed to support new opcodes.

show more ...


# 3e89c883 30-Oct-2015 Dmitry Stogov

Changed ZEND_CLONE->extended_value meaning to relative offset (previously it was absolute opline number)


# 0172f198 26-Oct-2015 Dmitry Stogov

Fixed inconsistent exception handling (uopz/tests/006.phpt was failed when PHP build with --disable-gcc-global-regs).


# 5767f2b6 26-Oct-2015 Xinchen Hui

Fixed bug #70785 (Infinite loop due to exception during identical comparison)


# 6ad2c3eb 20-Oct-2015 Xinchen Hui

Revert "Ensure proper exception handling and EX(opline) state in USER_OPCODE handler"

read: http://news.php.net/php.internals/88887

This reverts commit 808f62bb4d9812e9b7b35c87f3e90

Revert "Ensure proper exception handling and EX(opline) state in USER_OPCODE handler"

read: http://news.php.net/php.internals/88887

This reverts commit 808f62bb4d9812e9b7b35c87f3e90e5fc2bc244b.

show more ...


# a8ae8816 13-Oct-2015 Xinchen Hui

Fixed bug #70689 (Exception handler does not work as expected)


# cc3c425a 07-Oct-2015 Nikita Popov

Fix bug #70662

This replaces add_new with update for the RW case. This should not
be problematic for performance, as this branch throws a notice.

Alternatively add_new could als

Fix bug #70662

This replaces add_new with update for the RW case. This should not
be problematic for performance, as this branch throws a notice.

Alternatively add_new could also be replaced with add. I went with
update, because it makes $a[0] += 1 behavior the same as
$a[0] = $a[0] + 1.

show more ...


12345678910>>...53