Skip to content

Commit 974144d

Browse files
remove php.h
1 parent 1d29b13 commit 974144d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Zend/zend_alloc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
* with more specialized routines when the requested size is known.
5252
*/
5353

54-
#include "php.h"
5554
#include "zend.h"
5655
#include "zend_alloc.h"
5756
#include "zend_globals.h"
@@ -3103,7 +3102,6 @@ ZEND_API zend_mm_observer* zend_mm_observer_register(
31033102
void (*free)(void * ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC),
31043103
void (*realloc)(void *, size_t, void * ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
31053104
) {
3106-
ZEND_ASSERT(php_during_module_startup());
31073105
#if ZEND_MM_CUSTOM
31083106
zend_mm_observer *node = pemalloc(sizeof(zend_mm_observer), 1);
31093107
node->malloc = malloc;

0 commit comments

Comments
 (0)