diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-03-14 14:01:45 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-03-14 14:01:45 +0300 |
commit | 1af60a2a7127cd8a366f614b43566123c1dcc80a (patch) | |
tree | 303bf4026ad283e43159dd699fb6c67bd484b3d0 /ext/reflection/php_reflection.c | |
parent | 12baec3dfa10a4ae87d90b0c785403d5b2303230 (diff) | |
download | php-git-1af60a2a7127cd8a366f614b43566123c1dcc80a.tar.gz |
Keep initialized object_handlers structures in read-only memory.
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |