diff options
author | Wez Furlong <wez@php.net> | 2005-09-11 14:27:10 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2005-09-11 14:27:10 +0000 |
commit | 81151a5dbfa31f82c65108948633f46e6f7f5ff4 (patch) | |
tree | 55e36fdc08beb370e643b84b5c5b9bbf82d59af2 | |
parent | 497c7714e6e9f25a7d893ada82c665718d4447eb (diff) | |
download | php-git-81151a5dbfa31f82c65108948633f46e6f7f5ff4.tar.gz |
remove traversable interface; apparently it's not enough, and this stuff is too
magical to figure out wtf should be added.
-rwxr-xr-x | ext/pdo/pdo_stmt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index e746ca10cd..7ebc8b3321 100755 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -1990,7 +1990,9 @@ void pdo_stmt_init(TSRMLS_D) pdo_dbstmt_ce = zend_register_internal_class(&ce TSRMLS_CC); pdo_dbstmt_ce->get_iterator = pdo_stmt_iter_get; pdo_dbstmt_ce->create_object = pdo_dbstmt_new; +#if no_crazy_hidden_deps_on_other_interfaces zend_class_implements(pdo_dbstmt_ce TSRMLS_CC, 1, zend_ce_traversable); +#endif zend_declare_property_null(pdo_dbstmt_ce, "queryString", sizeof("queryString")-1, ZEND_ACC_PUBLIC TSRMLS_CC); memcpy(&pdo_dbstmt_object_handlers, &std_object_handlers, sizeof(zend_object_handlers)); |