mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Keep initialized object_handlers structures in read-only memory.
This commit is contained in:
@@ -67,7 +67,7 @@ static zend_always_inline void zend_object_store_ctor_failed(zend_object *obj)
|
||||
|
||||
#define ZEND_OBJECTS_STORE_HANDLERS 0, zend_object_std_dtor, zend_objects_destroy_object, zend_objects_clone_obj
|
||||
|
||||
ZEND_API zend_object_handlers * ZEND_FASTCALL zend_get_std_object_handlers(void);
|
||||
ZEND_API const zend_object_handlers * ZEND_FASTCALL zend_get_std_object_handlers(void);
|
||||
END_EXTERN_C()
|
||||
|
||||
static zend_always_inline void zend_object_release(zend_object *obj)
|
||||
|
||||
Reference in New Issue
Block a user