History log of /PHP-7.3/Zend/zend_vm_def.h (Results 151 – 175 of 1518)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# dba5a798 07-Nov-2017 DanielCiochiu

Fixed #74862: Unable to clone instance when private __clone defined

Even though __clone was implemented as private and called only from
parent class, child extending class instance could

Fixed #74862: Unable to clone instance when private __clone defined

Even though __clone was implemented as private and called only from
parent class, child extending class instance could not be cloned.

show more ...


# d56a534a 02-Nov-2017 Xinchen Hui

RC manipulation cleanup 2


# a8a17a72 01-Nov-2017 Xinchen Hui

RC manipulation cleanup


# fcc08ce1 30-Oct-2017 Dmitry Stogov

Prevent reference-counting on persistent zvals (internal constants, default properties and constants of internal classes).
New macro ZVAL_COPY_OR_DUP() is used perform duplication, if necessary.

Prevent reference-counting on persistent zvals (internal constants, default properties and constants of internal classes).
New macro ZVAL_COPY_OR_DUP() is used perform duplication, if necessary.
This should eliminate related race-coditions in ZTS build and prevent reference-counting bugs after unclean shutdown.

show more ...


# 49ea143b 26-Oct-2017 Dmitry Stogov

Encapsulate reference-counting primitives.
Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead.
Added mactros to validate reference-count

Encapsulate reference-counting primitives.
Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead.
Added mactros to validate reference-counting (disabled for now).
These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.

show more ...


# aeca7618 26-Oct-2017 Dmitry Stogov

Removed useless reallocations


# 6a034be2 25-Oct-2017 Dmitry Stogov

Fixed signed/unsigned comparisons


# 9cf87aa1 24-Oct-2017 Dmitry Stogov

Avoid HashTable allocations for empty arrays (using zend_empty_array).


# 59a7944b 24-Oct-2017 Dmitry Stogov

Made run_time_cache to keep "offset" to dynamic properties Buckets (instead of index).


# 193adbdf 23-Oct-2017 Dmitry Stogov

Use run-time cache to keep position of dynamic properties in HashTable to access them without hash lookup.


# d0f4dbfd 17-Oct-2017 Dmitry Stogov

Make assertions in DO_ICALL and CALL_TRAMPOLINE to be consistent with DO_FCALL.


# 61ef91bf 17-Oct-2017 Dmitry Stogov

Revert "Allow internal functions to return values by reference (this was disabled in implementation of DO_ICALL, but enabled in DO_FCALL)."

This reverts commit da781a5ac2cb9d2f983ef9fe070900

Revert "Allow internal functions to return values by reference (this was disabled in implementation of DO_ICALL, but enabled in DO_FCALL)."

This reverts commit da781a5ac2cb9d2f983ef9fe070900664db12c67.

show more ...


# da781a5a 17-Oct-2017 Dmitry Stogov

Allow internal functions to return values by reference (this was disabled in implementation of DO_ICALL, but enabled in DO_FCALL).
However, don't require internal functions returning by reference

Allow internal functions to return values by reference (this was disabled in implementation of DO_ICALL, but enabled in DO_FCALL).
However, don't require internal functions returning by reference to return a reference.
Mark unserialize() as returning by reference and remove unwrap_reference hack, to allow proper returning of self referenced arrays using a reference.
Currently unserialize() is the only internal function that may return a reference.

show more ...


# ef5ea487 10-Oct-2017 Dmitry Stogov

Always use IS_CONSTANT_AST (IS_CONSTANT is removed).


# fcccb0d6 09-Oct-2017 Dmitry Stogov

Use zval_ptr_dtor_nogc() in places where circular zvals are not possible


# e70618af 04-Oct-2017 Dmitry Stogov

Changed the way VM accesses constant operands in 64-bit builds.


Revision tags: php-7.1.10, php-7.2.0RC3, php-7.0.24
# 44e0b79a 19-Sep-2017 Dmitry Stogov

Refactored array creation API. array_init() and array_init_size() are converted into macros calling zend_new_array(). They are not functions anymore and don't return any values.


# 0fb05f14 18-Sep-2017 Dmitry Stogov

Property access micro-optimization. (ZEND_WRONG_PROPERTY_OFFSET and ZEND_DYNAMIC_PROPERTY_OFFSET are hidden, use one comparison instead of two on fast paths. "Negative" offsets are reserved for futur

Property access micro-optimization. (ZEND_WRONG_PROPERTY_OFFSET and ZEND_DYNAMIC_PROPERTY_OFFSET are hidden, use one comparison instead of two on fast paths. "Negative" offsets are reserved for future optimizations).

show more ...


Revision tags: php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1
# cd6893ae 14-Aug-2017 Dmitry Stogov

Fixed attempt to free invalid structure (result of ROPE_INIT is not a zval)


Revision tags: php-7.1.8, php-7.2.0beta2, php-7.0.22
# 9b87b73f 27-Jul-2017 Xinchen Hui

Req #74963 (Improved error message on fetching property of non-object)


# dbd729e8 27-Jul-2017 Xinchen Hui

Req #74963 (Improved error message on fetching property of non-object)


# 112eda75 19-Jul-2017 Dmitry Stogov

Separate the fast-patch


# ecb67e59 18-Jul-2017 Nikita Popov

Don't reuse compare_function operands

If the same zval is used for the result and one operand, then the
function thinks it is responsible for freeing the value in case of
a type conv

Don't reuse compare_function operands

If the same zval is used for the result and one operand, then the
function thinks it is responsible for freeing the value in case of
a type conversion.

show more ...


Revision tags: php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1
# f49ee79e 17-Jul-2017 Dmitry Stogov

gc_check_possible_root() may throw exception.


# 1180d8c8 17-Jul-2017 Dmitry Stogov

Separate ISSET_ISEMPTY_CV/UNSET_CV from ISSET_ISEMPTY_VAR/UNSET_VAR


12345678910>>...61