History log of /PHP-8.3/Zend/zend_vm_execute.h (Results 51 – 75 of 1980)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ba029fce 19-Aug-2022 Tim Starling

Fix GH-9323: crash when the VM enters userspace code via the GC

Closes GH-9323


# 7eba683e 15-Aug-2022 twosee

Fix unexpected deprecated dynamic property warning (#9324)

Occurred when exit() with uncaught exception in finally block.


# 0f29436a 15-Aug-2022 Ilija Tovilo

Remove useless UNEXPECTED around RETURN_VALUE_USED in specialized RETVAL handler (#9329)

This can lead to funny code like UNEXPECTED(1) which is non-sensical.


# 3b62d660 04-Aug-2022 sji

Implement constants in traits (#8888)

RFC: https://wiki.php.net/rfc/constants_in_traits


Revision tags: php-8.2.0beta2, php-8.1.9, php-8.0.22
# 625f1649 20-Jul-2022 Bob Weinand

Include internal functions in the observer API

There are two main motivations to this:
a) The logic for handling internal and userland observation can be unified.
b) Unwinding of obs

Include internal functions in the observer API

There are two main motivations to this:
a) The logic for handling internal and userland observation can be unified.
b) Unwinding of observed functions on a bailout does notably not include observers. Even if users of observers were to ensure such handling themselves, it would be impossible to retain the relative ordering - either the user has to unwind all internal observed frames before the automatic unwinding (zend_observer_fcall_end_all) or afterwards, but not properly interleaved.

Signed-off-by: Bob Weinand <bobwei9@hotmail.com>

show more ...


Revision tags: php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1
# 2bc6025c 16-Jul-2022 Aaron Piotrowski

Prevent fiber switching in tick function and signal handlers (#9028)


Revision tags: php-8.0.21, php-8.1.8, php-8.2.0alpha3
# 5bfc1608 22-Jun-2022 Derick Rethans

Don't shortcut empty oparray executions if zend_execute_ex has been overridden


Revision tags: php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17
# ddc0b490 10-Mar-2022 Ilija Tovilo

Allow arbitrary const expressions in backed enums

Closes GH-7821
Closes GH-8190
Closes GH-8418


# 5a855ee8 02-Jun-2022 Ilija Tovilo

Fix GH-8661: Nullsafe in coalesce triggers undefined variable warning

Closes GH-8690


# 280fd680 01-Jun-2022 Levi Morrison

Make vm_interrupt and timed_out atomic (#8327)

This is done by adding a new zend_atomic_bool type. The type
definition is only available for compiler alignment and size info; it
shou

Make vm_interrupt and timed_out atomic (#8327)

This is done by adding a new zend_atomic_bool type. The type
definition is only available for compiler alignment and size info; it
should be treated as opaque and only the zend_atomic_bool_* family of
functions should be used.

Note that directly using atomic_bool is complicated. All C++ compilers
stdlibs that I checked typedef atomic_bool to std::atomic<bool>, which
can't be used in an extern "C" section, and there's at least one usage
of this in core, and probably more outside of it.

So, instead use platform specific functions, preferring compiler
intrinsics.

show more ...


# b4285e55 25-May-2022 Bob Weinand

Ensure vm_spec_handlers exists for all opcodes <= 255 so that user defined higher opcodes do not read outside buffer

This largely has no effect in practice, but ASAN will complain then.


# df0c8aae 04-Apr-2022 Dmitry Stogov

JIT: Fix array clobbering by user error handler

Fixes oss-fuzz #46336


# c489e360 04-Apr-2022 Dmitry Stogov

JIT: Fix array clobbering by user error handler

Fixes oss-fuzz #46336


Revision tags: php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1
# a60a9b4a 01-Feb-2022 Dmitry Stogov

Fix memory leak

Fixes oss-fuzz #44222


Revision tags: php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1
# 4543cd32 30-Dec-2021 Nikita Popov

Remove JMPZNZ opcode

While JMPZNZ can avoid execution of a separate JMP opcode in some
cases, it also prevents smart branch optimization, so creating
JMPZNZ may actually have a negat

Remove JMPZNZ opcode

While JMPZNZ can avoid execution of a separate JMP opcode in some
cases, it also prevents smart branch optimization, so creating
JMPZNZ may actually have a negative effect. It also adds additional
complexity for optimizations.

Drop JMPZNZ in favor of JMPZ+JMP or JMPNZ+JMP.

Closes GH-7857.

show more ...


# aab52968 23-Dec-2021 Dmitry Stogov

micro-optimization


# 5d6bc250 22-Dec-2021 Dmitry Stogov

Reset Bucket->key of deleted HastTable elemets to NULL.

This allows elimination of some Z_ISUNDEF(Bucket->val) checks.


# 192ea91d 16-Dec-2021 Dmitry Stogov

Avoid useless symbol table reattaching on retutn from an included op_array


# 67bb7925 16-Dec-2021 Dmitry Stogov

Don't execute INCLUDE for empty op_arrays.


# 79fac32d 16-Dec-2021 Dmitry Stogov

Don't call zend_attach/detach_symbol_table() for op_arrays without local variables


Revision tags: php-8.0.14
# 75b29739 15-Dec-2021 Dmitry Stogov

Fix array clobbering by user error handler

Fixes oss-fuzz #42363


Revision tags: php-8.1.1, php-7.4.27
# b16fc350 14-Dec-2021 Dmitry Stogov

Move common code into helper


# c787f42c 13-Dec-2021 Dmitry Stogov

Combine ADDREF/DELREF


# cbc0b1af 13-Dec-2021 Dmitry Stogov

Fix array clobering by user error handler

Fixes oss-fuzz #42234


# da684582 09-Dec-2021 George Peter Banyard

ZEND_INIT_FCALL is only produced when function exists at compile time (#7728)


12345678910>>...80