From 02c35975c068b6c1834fe5d4ed809c0405dbe8d6 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Thu, 17 Feb 2005 20:28:46 +0000 Subject: [PATCH] - Incrementation is done elsewhere --- Zend/zend_API.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 9683fedb5f5..81ef11665a7 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1642,7 +1642,7 @@ ZEND_API void zend_class_implements(zend_class_entry *class_entry TSRMLS_DC, int while (num_interfaces--) { interface_entry = va_arg(interface_list, zend_class_entry *); - class_entry->interfaces[class_entry->num_interfaces++] = interface_entry; + class_entry->interfaces[class_entry->num_interfaces] = interface_entry; zend_do_implement_interface(class_entry, interface_entry TSRMLS_CC); } va_end(interface_list);