helly Thu Oct 23 03:09:05 2003 EDT Modified files: /spl spl_functions.c Log: Update Index: spl/spl_functions.c diff -u spl/spl_functions.c:1.16 spl/spl_functions.c:1.17 --- spl/spl_functions.c:1.16 Sat Sep 6 22:37:10 2003 +++ spl/spl_functions.c Thu Oct 23 03:09:04 2003 @@ -72,9 +72,7 @@ /* {{{ spl_register_implement */ void spl_register_implement(zend_class_entry * class_entry, zend_class_entry * interface_entry TSRMLS_DC) { - class_entry->interfaces = realloc(class_entry->interfaces, sizeof(zend_class_entry*) * (class_entry->num_interfaces+1)); - class_entry->interfaces[class_entry->num_interfaces++] = interface_entry; - zend_do_implement_interface(class_entry, interface_entry); + zend_class_implements(class_entry TSRMLS_CC, 1, interface_entry); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php