Skip to content

Commit 3528ca8

Browse files
committed
Add note for GH-10168 to UPGRADING.INTERNALS
1 parent e1c6fb7 commit 3528ca8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

UPGRADING.INTERNALS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ PHP 8.3 INTERNALS UPGRADE NOTES
4646
constant names are only stored as keys of the global constants table.
4747
That's why the `zend_register_constant()` function now expects the
4848
constant name as its first parameter.
49+
* Many calls to zend_assign_to_variable have been replaced with
50+
zend_assign_to_variable_ex which allows delaying the releasing of the old
51+
variable value. This avoids side-effects through destructors between the
52+
assignment of the variable and the assignment to the result zval in the VM
53+
(i.e. it may free the new value). See GH-10168 for details.
4954

5055
========================
5156
2. Build system changes

0 commit comments

Comments
 (0)