From 1af60a2a7127cd8a366f614b43566123c1dcc80a Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 14 Mar 2018 14:01:45 +0300 Subject: Keep initialized object_handlers structures in read-only memory. --- ext/reflection/php_reflection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/reflection/php_reflection.c') diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 423a37b361..42e4ee3c53 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -6694,7 +6694,7 @@ static const zend_function_entry reflection_ext_functions[] = { /* {{{ */ PHP_FE_END }; /* }}} */ -static zend_object_handlers *zend_std_obj_handlers; +static const zend_object_handlers *zend_std_obj_handlers; /* {{{ _reflection_write_property */ static void _reflection_write_property(zval *object, zval *member, zval *value, void **cache_slot) -- cgit v1.2.1