1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

[ci skip] NEWS/UPGRADING for GH-13460

This commit is contained in:
Arnaud Le Blanc
2024-07-02 15:24:11 +02:00
parent 3c56af9902
commit c08fe2dfc4
2 changed files with 14 additions and 0 deletions

1
NEWS
View File

@@ -33,6 +33,7 @@ PHP NEWS
. Fixed bug GH-11928 (The --enable-re2c-cgoto doesn't add the -g flag).
(Peter Kokot)
. Added the #[\Deprecated] attribute. (beberlei, timwolla)
. Fixed GH-11389 (Allow suspending fibers in destructors). (Arnaud, trowski)
- Curl:
. Deprecated the CURLOPT_BINARYTRANSFER constant. (divinity76)

View File

@@ -827,6 +827,19 @@ PHP 8.4 UPGRADE NOTES
environment variable to 0, or pass the --online flag to run-tests.php to
execute them.
* Fiber switching during destructor execution is now allowed. It was previously
blocked due to conflicts with garbage collection.
Destructors may now be executed in a separate Fiber:
When garbage collection is triggered in a Fiber, destructors called by the GC
are executed in a separate Fiber: the gc_destructor_fiber. If this Fiber
suspends, a new one is created to execute the remaining destructors. The
previous gc_destructor_fiber is not referenced anymore by the GC and may be
collected if it's not referenced anywhere else. Objects whose destructor is
suspended will not be collected until the destructor returns or the Fiber is
collected.
========================================
14. Performance Improvements
========================================