History log of /PHP-8.2/Zend/zend_execute.h (Results 1 – 25 of 414)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 4676d9bc 24-May-2023 Ilija Tovilo

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
Fix access on NULL pointer in array_merge_recursive()


# f5c54fd8 23-May-2023 Ilija Tovilo

Fix access on NULL pointer in array_merge_recursive()

Closes GH-11303

# efb9181a 16-Feb-2023 Ilija Tovilo

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
Revert "Fix GH-10168: heap-buffer-overflow at zval_undefined_cv"


# 7b68ff46 16-Feb-2023 Ilija Tovilo

Revert "Fix GH-10168: heap-buffer-overflow at zval_undefined_cv"

This reverts commit 71ddede5655fe654002ae18af6a18e033f717287.

# 0e31e03b 13-Feb-2023 Bob Weinand

Merge branch 'PHP-8.1' into PHP-8.2


# d721dcc2 10-Feb-2023 Arnaud Le Blanc

Fix colletion of unfinished function call in fibers

Fixes GH-10496.

Co-authored-by: Bob Weinand <bobwei9@hotmail.com>

# 972a5a02 08-Feb-2023 Ilija Tovilo

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
Fix GH-10168: heap-buffer-overflow at zval_undefined_cv


# 71ddede5 06-Feb-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-10168: heap-buffer-overflow at zval_undefined_cv

The problem is that we're using the variable_ptr in the opcode handler
*after* it has already been destroyed. The solution is to c

Fix GH-10168: heap-buffer-overflow at zval_undefined_cv

The problem is that we're using the variable_ptr in the opcode handler
*after* it has already been destroyed. The solution is to create a
specialised version of zend_assign_to_variable which takes in two
destination zval pointers.

Closes GH-10524

show more ...

# d8940807 13-Jan-2023 Arnaud Le Blanc

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
Reduce HT_MAX_SIZE to account for the max load factor of 0.5 (#10242)
GC fiber unfinished executions (#9810)


# 4fb14939 13-Jan-2023 Arnaud Le Blanc

GC fiber unfinished executions (#9810)

# 34a85fbe 04-Nov-2022 Arnaud Le Blanc

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
[ci skip] NEWS
[ci skip] NEWS
Fix generator memory leaks when interrupted during argument evaluation (#9756)


# 40116577 04-Nov-2022 Arnaud Le Blanc

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
[ci skip] NEWS
Fix generator memory leaks when interrupted during argument evaluation (#9756)


# 5d1f3e04 04-Nov-2022 Arnaud Le Blanc

Fix generator memory leaks when interrupted during argument evaluation (#9756)

# dc5475c1 28-Jul-2022 Bob Weinand

Save previous observer on the VM stack

This avoids a possible significant performance penalty, when some leaf function was observed, deep in the stack.
As a side effect, we are not itera

Save previous observer on the VM stack

This avoids a possible significant performance penalty, when some leaf function was observed, deep in the stack.
As a side effect, we are not iterating over prev_execute_data anymore and thus, non-observed fake frames, possibly on stack, cannot have any impact on the observer anymore (especially within zend_observer_fcall_end_all).

Saving the previous observer happens now directly on the VM stack. If there is any observer, function frames are allocated an extra zval (the last temporary), which will, on observed frames, contain the previous observed frame address.

show more ...

# 6b160e78 28-Jul-2022 George Peter Banyard

Change fetch_type from int to uint32_t (#9152)

This is because it is derived from the opcode num which is an uint32_t

# 40908b10 01-Jul-2022 Ilija Tovilo

Merge branch 'PHP-8.1'

* PHP-8.1:
Disallow assigning reference to unset readonly property


# 11057372 10-Mar-2022 Ilija Tovilo

Disallow assigning reference to unset readonly property

Closes GH-7942
Closes GH-8188

# 89688b11 08-Jun-2022 Joe Rowell

Add function exposing HAVE_GCC_GLOBAL_REGS (#8359)

# 812df2bd 12-Nov-2021 Cameron Porter

Fix bug #81611

Add zend_fetch_class_with_scope() which accepts a scope to use for
self/parent, and use that during constant expression evaluation.

Closes GH-7649.

# a4fa00ea 05-Oct-2021 Nikita Popov

Reuse wrong string offset logic in jit

JIT contains a copy of this function that effectively only differs
by fetching current_execute_data from EG. We can do that in the VM
version a

Reuse wrong string offset logic in jit

JIT contains a copy of this function that effectively only differs
by fetching current_execute_data from EG. We can do that in the VM
version as well, as this is just used to throw an error.

Export the VM function and reuse it in JIT.

show more ...

# 5b2ddf5a 31-Aug-2021 Nikita Popov

Export zend_use_resource_as_offset()

Use a common implementation to generate this error message, as
we do so in quite a few places dealing with array keys.

# cecea72a 16-Aug-2021 Nikita Popov

Reuse parts of normal executor shutdown for preloading

preloading currently reimplements parts of shutdown_executor(),
so it's easy for that code to go out of sync.

Extract this

Reuse parts of normal executor shutdown for preloading

preloading currently reimplements parts of shutdown_executor(),
so it's easy for that code to go out of sync.

Extract this into an zend_shutdown_executor_values() API function
and use it as part of the preloading pre-shutdown.

show more ...

# 05ef6334 29-Jul-2021 Joe Watkins

Fix bug #81303 improve match errors

# 8befb6d8 23-Jul-2021 Nikita Popov

Assert that call to method always has called scope or object

# 6780aaa5 02-Jun-2021 Nikita Popov

Implement readonly properties

Add support for readonly properties, for which only a single
initializing assignment from the declaring scope is allowed.

RFC: https://wiki.php.net

Implement readonly properties

Add support for readonly properties, for which only a single
initializing assignment from the declaring scope is allowed.

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

Closes GH-7089.

show more ...

12345678910>>...17