summaryrefslogtreecommitdiff
path: root/ext/mysqli
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-01 11:49:44 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-01 15:17:22 +0200
commit312201dce4daca2770fd507af4a9a541bfe83fc0 (patch)
treeda522ea9d98ab2b457d88a8fa11d7f5f18168481 /ext/mysqli
parent8d9637bdacd698b72da3e0b9578ebfafefa82f3c (diff)
downloadphp-git-312201dce4daca2770fd507af4a9a541bfe83fc0.tar.gz
Add get_gc handle for object iterators
Optional handler with the same semantics as the object handler.
Diffstat (limited to 'ext/mysqli')
-rw-r--r--ext/mysqli/mysqli_result_iterator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_result_iterator.c b/ext/mysqli/mysqli_result_iterator.c
index df36a840e4..1388937816 100644
--- a/ext/mysqli/mysqli_result_iterator.c
+++ b/ext/mysqli/mysqli_result_iterator.c
@@ -150,6 +150,7 @@ const zend_object_iterator_funcs php_mysqli_result_iterator_funcs = {
php_mysqli_result_iterator_current_key,
php_mysqli_result_iterator_move_forward,
php_mysqli_result_iterator_rewind,
- NULL
+ NULL,
+ NULL, /* get_gc */
};
/* }}} */