History log of /PHP-7.4/Zend/zend_execute.c (Results 26 – 50 of 1541)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 382f9b28 10-Oct-2019 Nikita Popov

Fix leak on "Cannot assign by reference to overloaded object" error


# 21148679 08-Oct-2019 Nikita Popov

Handle "non well formed" exception during ZPP

Previously if the "non well formed" notice was converted into an
exception we'd still end up executing the function.

Also drop the

Handle "non well formed" exception during ZPP

Previously if the "non well formed" notice was converted into an
exception we'd still end up executing the function.

Also drop the now unnecessary EG(exception) checks in the engine.

Additionally remote a bogus exception in zend_is_callable: It
should only be writing to error, but not directly throwing.

show more ...


# ad3ddf46 08-Oct-2019 Nikita Popov

Fixed bug #78644

Make sure the initialize the result of FETCH_OBJ_UNSET operations.
I'm using a NULL value rather than ERROR here, because the latter
no longer exists in master.


Revision tags: php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2
# 51d9f32d 12-Sep-2019 Dmitry Stogov

Fixed bug #78531 (Crash when using undefined variable as object


# 697266a8 12-Sep-2019 Dmitry Stogov

Eliminate checks using ZEND_CONST_COND() macro


Revision tags: php-7.2.23RC1, php-7.3.10RC1
# b6f76aca 04-Sep-2019 Nikita Popov

Improve exception handling for abstract/deprecated calls

Reuse existing arg freeing loop instead of duplicating it.

Additionally also handle deprecated in DO_FCALL_BY_NAME.


# 4bb72827 04-Sep-2019 Nikita Popov

Fix handling of abstract/deprecated exception

The exception mechanism assumes that exceptions from DO_FCALL are
already happening after the function call. This means that we are
curr

Fix handling of abstract/deprecated exception

The exception mechanism assumes that exceptions from DO_FCALL are
already happening after the function call. This means that we are
currently leaking the passed arguments, and I think we can also
corrupt the VM stack due to incorrect frame linking in some cases
(there are assertion failures if the VM stack page size is reduced).

Instead handle the stack frame freeing manually for this special
case.

show more ...


Revision tags: php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1
# d1fd4607 06-Aug-2019 Dmitry Stogov

Inline zend_zval_ptr() in executor explicitely (only on hot paths)


Revision tags: php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8
# 99d4b2bd 24-Jul-2019 Nikita Popov

Mark _get_zval_ptr_deref as unused


Revision tags: php-7.4.0beta1
# 9e4603f7 24-Jul-2019 Nikita Popov

Try to fix macos build

By avoiding unused variable opline warnings. Also clean up the
replacement of ZEND_VM_SPEC -- we were sometimes treating it as
an always-defined constant with

Try to fix macos build

By avoiding unused variable opline warnings. Also clean up the
replacement of ZEND_VM_SPEC -- we were sometimes treating it as
an always-defined constant with a value (what it actually is) and
sometimes as a conditionally defined constant (which it isn't, but
which still worked thanks to the specializer). Switch to only
treating it as a constant with a value.

show more ...


Revision tags: php-7.2.21RC1, php-7.3.8RC1
# 0ba7c3ea 11-Jul-2019 Nikita Popov

Deprecate array_key_exists() on objects


# ee582820 16-Jul-2019 Dmitry Stogov

Separate "cold" and common unspecialized code


# a0f450a0 16-Jul-2019 Nikita Popov

Remove unused _get_zval_ptr_cv_BP_VAR_UNSET function

To fix the macos -Werror build.


# 1d4c3842 16-Jul-2019 Dmitry Stogov

Delay IS_UNDEF checks


# ef1a1a06 11-Jul-2019 Dmitry Stogov

Separate "cold" parts of comparison instructions


# c42b7dd6 10-Jul-2019 Nikita Popov

Throw notice on array access on illegal type

No notice is thrown for list() accesses, because we did not come
to an agreement regarding patterns like

while ([$key, $value] =

Throw notice on array access on illegal type

No notice is thrown for list() accesses, because we did not come
to an agreement regarding patterns like

while ([$key, $value] = yield $it->next()) { ... }

where silent null access may be desirable.

No effort is made to suppress multiple notices in access chains
likes $x[0][0][0], because the technical complexity this causes
does not seem worthwhile.

RFC: https://wiki.php.net/rfc/notice-for-non-valid-array-container

show more ...


# 2bca35ea 10-Jul-2019 Nikita Popov

Rename support_strings to !is_list

In preparation for more behavior that depends on whether it it is
a list() access. Using support_strings for that would be
confusing.


Revision tags: php-7.4.0alpha3
# 48ca5a1e 05-Jul-2019 Dmitry Stogov

Replace ZEND_ASSIGN_ADD (and others) by ZEND_ASSIGN_OP, ZEND_ASSIGN_DIM_OP, ZEND_ASSGIN_OBJ_OP and ZEND_ASSIGN_STATIC_PROP_OP


# ef05eab4 04-Jul-2019 Dmitry Stogov

Improve zend_binary_assign_op helpers.
Reorder opcode numbers to make ADD-POW and ASSIGN_ADD-ASSIGN_POW opcodes sequencional.


# 09041151 03-Jul-2019 Dmitry Stogov

Better optimization in RELEASE build. ZEND_ASSERT(s) prevented optimization


Revision tags: php-7.3.7
# 56b8b165 03-Jul-2019 Dmitry Stogov

Optimization of INC/DEC helpers


Revision tags: php-7.2.20
# baa883d3 02-Jul-2019 Dmitry Stogov

Fixed build without global register variables


# cbbd473b 01-Jul-2019 Dmitry Stogov

Separate slow code


# f2b6b2ee 01-Jul-2019 Dmitry Stogov

Micro-optimization


Revision tags: php-7.4.0alpha2
# e1e8e670 21-Jun-2019 Dmitry Stogov

Cleanup


12345678910>>...62