Skip to content

Commit 37d0ef5

Browse files
authored
Zend: Remove zend_atomic.[ch] abstraction (#23927)
1 parent 8ca2f71 commit 37d0ef5

19 files changed

Lines changed: 63 additions & 529 deletions

‎UPGRADING.INTERNALS‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ PHP 8.7 INTERNALS UPGRADE NOTES
1717
- Removed zend_execute_scripts(). Manually call zend_execute_script() in a loop
1818
instead.
1919
- Removed ZEND_STATIC_ASSERT(). Use C11 static_assert() directly instead.
20+
- Removed zend_atomic.h and the zend_atomic_* types and functions.
21+
Use the standard C11 atomic_* types and functions instead.
2022
- The sapi_terminate_process() function was removed.
2123
- The sapi_force_http_10() function was removed.
2224
- The sapi_get_fd() function was removed.
@@ -33,8 +35,8 @@ PHP 8.7 INTERNALS UPGRADE NOTES
3335
========================
3436

3537
- Windows build system changes:
36-
. C sources are now compiled as C17. MSVC builds require Visual Studio
37-
2026 or later and enable /experimental:c11atomics.
38+
. C sources are now compiled as C17 and require C11 atomics. MSVC builds require
39+
Visual Studio 2026 or later and enable /experimental:c11atomics.
3840
. C++-only extension compiler flags can be added to CXXFLAGS_<EXTENSION>.
3941

4042
- Unix build system changes:

‎Zend/zend_atomic.c‎

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)