History log of /PHP-8.3/Zend/zend_vm_execute.h (Results 251 – 275 of 2370)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 1b2ec73c 26-Aug-2020 George Peter Banyard

Drop various unused macros/APIs

Also convert_libmagic_pattern() to return a zend_string*

Closes GH-6029

# 795ad1e3 26-Aug-2020 Nikita Popov

Fix memory leak on unknown named param in iterator unpack

# 1003ae26 26-Aug-2020 Nikita Popov

Fix passing of undef var to named arg

This needs to use the previously computed argument target.

# 492621f9 26-Aug-2020 Nikita Popov

Fix memory leak on unknown named param

# d7d2b060 26-Aug-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix memory leak when yielding from non-iterable


# bf3e7723 26-Aug-2020 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix memory leak when yielding from non-iterable


# d179e34e 26-Aug-2020 Nikita Popov

Fix memory leak when yielding from non-iterable

# 779e9044 24-Aug-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix refcounting


# bb54694f 24-Aug-2020 Nikita Popov

Fix refcounting

# 5643f34a 24-Aug-2020 Christoph M. Becker

Merge branch 'PHP-7.4' into master

* PHP-7.4:
Fix #79979: passing value to by-ref param via CUFA crashes


# 6b6c2c00 24-Aug-2020 Christoph M. Becker

Fix #79979: passing value to by-ref param via CUFA crashes

If a by-val send is not allowed, we must not do so. Instead we wrap
the value in a temporary reference.

Closes GH-6000

# 5c18ee58 24-Aug-2020 Dmitry Stogov

Fixed use-after-free introduced by aed1f785159e7c9e81da8f2e2e06df9a6ee0d809

# aed1f785 20-Aug-2020 Dmitry Stogov

micro-optimization

# 42eda516 11-Aug-2020 Nikita Popov

SAVE_OPLINE in NULL_HANDLER

Let's avoid crashing before the nice error message gets printed...

# f491dabe 11-Aug-2020 Nikita Popov

Fix nullsafe operator on reference

Dereference the value before checking the type. As the happy path
necessarily has to check for references, I'm not bothering to
delay the compariso

Fix nullsafe operator on reference

Dereference the value before checking the type. As the happy path
necessarily has to check for references, I'm not bothering to
delay the comparison.

show more ...

# 74c43818 10-Aug-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fixed bug #79947


# 2d087210 10-Aug-2020 Nikita Popov

Fixed bug #79947

Move the FREE_OP for op_data out of the zend_binary_assign_op_dim_slow()
slow path, so it can be used by the other error path as well. This
makes ASSIGN_DIM_OP struc

Fixed bug #79947

Move the FREE_OP for op_data out of the zend_binary_assign_op_dim_slow()
slow path, so it can be used by the other error path as well. This
makes ASSIGN_DIM_OP structurally more similar to ASSIGN_DIM.

show more ...

Revision tags: php-7.4.6, php-7.2.31, php-7.4.6RC1, php-7.3.18RC1, php-7.2.30, php-7.4.5, php-7.3.17
# d92229d8 06-Apr-2020 Nikita Popov

Implement named parameters

From an engine perspective, named parameters mainly add three
concepts:

* The SEND_* opcodes now accept a CONST op2, which is the
argument nam

Implement named parameters

From an engine perspective, named parameters mainly add three
concepts:

* The SEND_* opcodes now accept a CONST op2, which is the
argument name. For now, it is looked up by linear scan and
runtime cached.
* This may leave UNDEF arguments on the stack. To avoid having
to deal with them in other places, a CHECK_UNDEF_ARGS opcode
is used to either replace them with defaults, or error.
* For variadic functions, EX(extra_named_params) are collected
and need to be freed based on ZEND_CALL_HAS_EXTRA_NAMED_PARAMS.

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

Closes GH-5357.

show more ...

# a6e63b42 31-Jul-2020 Nikita Popov

Make check in RECV_VARIADIC more precise

Fetch arg_info only once (it's always the same one...) and check
ZEND_TYPE_IS_SET on it, rather than checking if *any* parameter
has a type.

# 9bf11983 24-May-2020 Ilija Tovilo

Implement nullsafe ?-> operator

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

Closes GH-5619.

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

# 213852de 13-Jul-2020 Nikita Popov

Fixed bug #79828

# d30cd7d7 26-May-2020 Máté Kocsis

Review the usage of apostrophes in error messages

Closes GH-5590

# 65568467 10-Jul-2020 Nikita Popov

Fixed bug #79818

Only destroy the variable directly before reassigning it. The
value could be read in the meantime.

# 9fa1d133 09-Apr-2020 Ilija Tovilo

Implement match expression

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

Closes GH-5371.

# 613a56d1 09-Jul-2020 Nikita Popov

Remove FREE_UNFETCHED concept

In master normal FREE_OPs work like FREE_UNFETCHED_OP used to, so
there is no point in keeping this distinction anymore, it's just
confusing.

1...<<11121314151617181920>>...95