Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 63fe29f

Browse files
moar docs, IDK if this is too much, but it covers everything
1 parent 1694f60 commit 63fe29f

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

‎UPGRADING.INTERNALS‎

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,42 @@ PHP 8.4 INTERNALS UPGRADE NOTES
4141
native inet_pton() from ws2tcpip.h.
4242

4343
* zend_mm_set_custom_debug_handlers() has been removed from ZendMM, use
44-
zend_mm_set_custom_handlers() instead
44+
zend_mm_set_custom_handlers() instead which now supports DEBUG builds
45+
46+
* zend_mm_set_custom_handlers() has changed its signature from
47+
void()(zend_mm_heap *heap,
48+
void* (*_malloc)(size_t),
49+
void (*_free)(void*),
50+
void* (*_realloc)(void*, size_t))
51+
to
52+
void()(zend_mm_heap *heap,
53+
void* (*_malloc)(size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC),
54+
void (*_free)(void* ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC),
55+
void* (*_realloc)(void*, size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC))
56+
57+
* zend_mm_get_custom_handlers() has changed its signature from
58+
void()(zend_mm_heap *heap,
59+
void* (**_malloc)(size_t),
60+
void (**_free)(void*),
61+
void* (**_realloc)(void*, size_t))
62+
to
63+
void()(zend_mm_heap *heap,
64+
void* (**_malloc)(size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC),
65+
void (**_free)(void* ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC),
66+
void* (**_realloc)(void*, size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC))
67+
68+
* __zend_malloc() has changed their signature from
69+
void(*)(size_t) to
70+
void(*)(size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
71+
72+
* __zend_calloc() has changed their signature from
73+
void(*)(size_t, size_t) to
74+
void(*)(size_t, size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
75+
76+
* __zend_realloc() has changed their signature from
77+
void(*)(void *, size_t) to
78+
void(*)(void *, size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
79+
4580

4681
========================
4782
2. Build system changes

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /