diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-12-14 14:21:22 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-12-14 14:21:22 +0300 |
commit | 1db8402208055ac4fc00ef16dc1a7c2ec097849c (patch) | |
tree | 75c6765815ebfe54ba59bb5c2f323dce4650b7ba /ext/pdo | |
parent | 175e461369efefc087f23fcba789c1c6cb1ee46a (diff) | |
download | php-git-1db8402208055ac4fc00ef16dc1a7c2ec097849c.tar.gz |
Move zend_object_iterator_funcs structures into read-only data segment
Diffstat (limited to 'ext/pdo')
-rw-r--r-- | ext/pdo/pdo_stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 0a825f052e..f05cfce9c6 100644 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -2454,7 +2454,7 @@ static void pdo_stmt_iter_move_forwards(zend_object_iterator *iter) I->key++; } -static zend_object_iterator_funcs pdo_stmt_iter_funcs = { +static const zend_object_iterator_funcs pdo_stmt_iter_funcs = { pdo_stmt_iter_dtor, pdo_stmt_iter_valid, pdo_stmt_iter_get_data, |