@@ -41,7 +41,42 @@ PHP 8.4 INTERNALS UPGRADE NOTES
41
41
native inet_pton() from ws2tcpip.h.
42
42
43
43
* 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
+
45
80
46
81
========================
47
82
2. Build system changes
0 commit comments