Skip to content

Commit 81151a5

Browse files
committed
remove traversable interface; apparently it's not enough, and this stuff is too
magical to figure out wtf should be added.
1 parent 497c771 commit 81151a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/pdo/pdo_stmt.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1990,7 +1990,9 @@ void pdo_stmt_init(TSRMLS_D)
19901990
pdo_dbstmt_ce = zend_register_internal_class(&ce TSRMLS_CC);
19911991
pdo_dbstmt_ce->get_iterator = pdo_stmt_iter_get;
19921992
pdo_dbstmt_ce->create_object = pdo_dbstmt_new;
1993+
#if no_crazy_hidden_deps_on_other_interfaces
19931994
zend_class_implements(pdo_dbstmt_ce TSRMLS_CC, 1, zend_ce_traversable);
1995+
#endif
19941996
zend_declare_property_null(pdo_dbstmt_ce, "queryString", sizeof("queryString")-1, ZEND_ACC_PUBLIC TSRMLS_CC);
19951997

19961998
memcpy(&pdo_dbstmt_object_handlers, &std_object_handlers, sizeof(zend_object_handlers));

0 commit comments

Comments
 (0)