Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mysqlx_base_result_iterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ void
mysqlx_register_base_result_iterator(zend_class_entry * ce)
{
ce->get_iterator = mysqlx_base_result_create_iterator;
#if PHP_VERSION_ID < 70300
ce->iterator_funcs.funcs = &mysqlx_base_result_iterator_funcs;
#endif

zend_class_implements(ce, 1, zend_ce_traversable);
}
Expand Down
2 changes: 2 additions & 0 deletions mysqlx_doc_result_iterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ void
mysqlx_register_doc_result_iterator(zend_class_entry * ce)
{
ce->get_iterator = mysqlx_doc_result_create_iterator;
#if PHP_VERSION_ID < 70300
ce->iterator_funcs.funcs = &mysqlx_doc_result_iterator_funcs;
#endif

zend_class_implements(ce, 1, zend_ce_traversable);
}
Expand Down
2 changes: 2 additions & 0 deletions mysqlx_result_iterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ void
mysqlx_register_result_iterator(zend_class_entry * ce)
{
ce->get_iterator = mysqlx__result_create_iterator;
#if PHP_VERSION_ID < 70300
ce->iterator_funcs.funcs = &mysqlx__result_iterator_funcs;
#endif

zend_class_implements(ce, 1, zend_ce_traversable);
}
Expand Down
2 changes: 2 additions & 0 deletions mysqlx_row_result_iterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ void
mysqlx_register_row_result_iterator(zend_class_entry * ce)
{
ce->get_iterator = mysqlx_row_result_create_iterator;
#if PHP_VERSION_ID < 70300
ce->iterator_funcs.funcs = &mysqlx_row_result_iterator_funcs;
#endif

zend_class_implements(ce, 1, zend_ce_traversable);
}
Expand Down
2 changes: 2 additions & 0 deletions mysqlx_sql_statement_result_iterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ void
mysqlx_register_sql_statement_result_iterator(zend_class_entry * ce)
{
ce->get_iterator = mysqlx_sql_result_create_iterator;
#if PHP_VERSION_ID < 70300
ce->iterator_funcs.funcs = &mysqlx_sql_result_iterator_funcs;
#endif

zend_class_implements(ce, 1, zend_ce_traversable);
}
Expand Down