svn: /pecl/apc/trunk/ apc_iterator.c
| From: | Gopal Vijayaraghavan | Date: | Wed, 27 Jul 2011 23:04:39 +0000 |
| Subject: | svn: /pecl/apc/trunk/ apc_iterator.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-16097@lists.php.net to get a copy of this message | ||
gopalv Wed, 27 Jul 2011 23:04:39 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313801
Log:
fix iterator object structure for 5.4
Changed paths:
U pecl/apc/trunk/apc_iterator.c
Modified: pecl/apc/trunk/apc_iterator.c
===================================================================
--- pecl/apc/trunk/apc_iterator.c 2011-07-27 22:30:28 UTC (rev 313800)
+++ pecl/apc/trunk/apc_iterator.c 2011-07-27 23:04:39 UTC (rev 313801)
@@ -217,6 +217,9 @@
iterator->obj.ce = ce;
ALLOC_HASHTABLE(iterator->obj.properties);
zend_hash_init(iterator->obj.properties, 0, NULL, ZVAL_PTR_DTOR, 0);
+#ifdef ZEND_ENGINE_2_4
+ iterator->obj.properties_table = NULL;
+#endif
iterator->obj.guards = NULL;
iterator->initialized = 0;
retval.handle = zend_objects_store_put(iterator, apc_iterator_destroy, apc_iterator_free, NULL
TSRMLS_CC);