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/pdo/php_pdo_int.h | |
parent | 12baec3dfa10a4ae87d90b0c785403d5b2303230 (diff) | |
download | php-git-1af60a2a7127cd8a366f614b43566123c1dcc80a.tar.gz |
Keep initialized object_handlers structures in read-only memory.
Diffstat (limited to 'ext/pdo/php_pdo_int.h')
-rw-r--r-- | ext/pdo/php_pdo_int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/php_pdo_int.h b/ext/pdo/php_pdo_int.h index e09fa22205..a4958fdb3b 100644 --- a/ext/pdo/php_pdo_int.h +++ b/ext/pdo/php_pdo_int.h @@ -51,7 +51,7 @@ extern zend_object *pdo_row_new(zend_class_entry *ce); extern const zend_function_entry pdo_row_functions[]; extern zend_class_entry *pdo_row_ce; void pdo_row_free_storage(zend_object *std); -extern zend_object_handlers pdo_row_object_handlers; +extern const zend_object_handlers pdo_row_object_handlers; zend_object_iterator *php_pdo_dbstmt_iter_get(zend_class_entry *ce, zval *object); |